Class: Montage::Token

Inherits:
Resource show all
Defined in:
lib/montage/resources/token.rb

Instance Attribute Summary

Attributes inherited from Resource

#attributes, #items

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Resource

#attribute_keys, #initialize, #method_missing, #parse_items, #respond_to?, #singular?

Constructor Details

This class inherits a constructor from Montage::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Montage::Resource

Class Method Details

.resource_nameObject



5
6
7
# File 'lib/montage/resources/token.rb', line 5

def self.resource_name
  "token"
end

Instance Method Details

#valueObject



9
10
11
# File 'lib/montage/resources/token.rb', line 9

def value
  token
end