class Rlocu2::Menu::MenuItem
Attributes
currency_symbol[RW]
photos[RW]
section_name[RW]
section_text[RW]
subsection_name[RW]
type[RW]
Public Class Methods
new(menu_item_hash)
click to toggle source
Calls superclass method
Rlocu2::Menu::Item::new
# File lib/rlocu2/objects.rb, line 193 def initialize(menu_item_hash) @menu_name = menu_item_hash['menu_name'] @section_name = menu_item_hash['section_name'] @subsection_name = menu_item_hash['subsection_name'] @section_text = menu_item_hash['section_text'] @currency_symbol = menu_item_hash['currency_symbol'] @photos = menu_item_hash['photos'] super end