Class: Hungry::Menu::Option
- Defined in:
- lib/hungry/menu/option.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#dish ⇒ Object
Returns the value of attribute dish.
-
#price ⇒ Object
Returns the value of attribute price.
Attributes inherited from Resource
#attributes, #data_source, #resources
Method Summary
Methods inherited from Resource
all, belongs_to, #canonical_data_source, collection, each, find, first, get, has_many, #initialize, lazy_load, #reload
Constructor Details
This class inherits a constructor from Hungry::Resource
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/hungry/menu/option.rb', line 5 def description @description end |
#dish ⇒ Object
Returns the value of attribute dish.
5 6 7 |
# File 'lib/hungry/menu/option.rb', line 5 def dish @dish end |
#price ⇒ Object
Returns the value of attribute price.
5 6 7 |
# File 'lib/hungry/menu/option.rb', line 5 def price @price end |