class OmnivoreIO::MenuItem
Attributes
client[RW]
Public Class Methods
new(client, attributes={})
click to toggle source
# File lib/omnivore-io/api/menu_item.rb, line 9 def initialize(client, attributes={}) self.client = client attributes.each do |key, value| if self.respond_to? "#{key}=".to_sym self.send "#{key}=".to_sym, value end end end