Class: Tosuto::MenuItemSelection
- Defined in:
- lib/tosuto/menu_item_selection.rb
Instance Attribute Summary collapse
-
#external_id ⇒ Object
Returns the value of attribute external_id.
-
#guid ⇒ Object
Returns the value of attribute guid.
Instance Method Summary collapse
-
#initialize(hash) ⇒ MenuItemSelection
constructor
A new instance of MenuItemSelection.
Methods inherited from Resource
attr_collections, attr_objects, encode_form_data, #inspect, #parse_collection, #parse_object, #set_attribute, #set_attributes, #underscore
Constructor Details
#initialize(hash) ⇒ MenuItemSelection
Returns a new instance of MenuItemSelection.
30 31 32 |
# File 'lib/tosuto/menu_item_selection.rb', line 30 def initialize(hash) set_attributes(hash) end |
Instance Attribute Details
#external_id ⇒ Object
Returns the value of attribute external_id.
3 4 5 |
# File 'lib/tosuto/menu_item_selection.rb', line 3 def external_id @external_id end |
#guid ⇒ Object
Returns the value of attribute guid.
3 4 5 |
# File 'lib/tosuto/menu_item_selection.rb', line 3 def guid @guid end |