Class: Hungry::Menu::Dish

Inherits:
Resource show all
Defined in:
lib/hungry/menu/dish.rb

Instance Attribute Summary collapse

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

#categoryObject

Returns the value of attribute category.



5
6
7
# File 'lib/hungry/menu/dish.rb', line 5

def category
  @category
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/hungry/menu/dish.rb', line 5

def description
  @description
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/hungry/menu/dish.rb', line 5

def name
  @name
end

#optionsObject

Returns the value of attribute options.



5
6
7
# File 'lib/hungry/menu/dish.rb', line 5

def options
  @options
end

#photosObject

Returns the value of attribute photos.



5
6
7
# File 'lib/hungry/menu/dish.rb', line 5

def photos
  @photos
end

#priceObject

Returns the value of attribute price.



5
6
7
# File 'lib/hungry/menu/dish.rb', line 5

def price
  @price
end