Class: Hungry::Menu::Dish
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#photos ⇒ Object
Returns the value of attribute photos.
-
#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
#category ⇒ Object
Returns the value of attribute category.
5 6 7 |
# File 'lib/hungry/menu/dish.rb', line 5 def category @category end |
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/hungry/menu/dish.rb', line 5 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/hungry/menu/dish.rb', line 5 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/hungry/menu/dish.rb', line 5 def @options end |
#photos ⇒ Object
Returns the value of attribute photos.
5 6 7 |
# File 'lib/hungry/menu/dish.rb', line 5 def photos @photos end |
#price ⇒ Object
Returns the value of attribute price.
5 6 7 |
# File 'lib/hungry/menu/dish.rb', line 5 def price @price end |