Class: Doshii::Client
- Inherits:
-
Object
- Object
- Doshii::Client
- Defined in:
- lib/doshii/client.rb,
lib/doshii/client/order.rb,
lib/doshii/client/table.rb,
lib/doshii/client/checkin.rb,
lib/doshii/client/product.rb,
lib/doshii/client/location.rb
Defined Under Namespace
Modules: Checkin, Location, Order, Product, Table
Constant Summary
Constants included from Table
Constants included from Product
Constants included from Order
Constants included from Location
Constants included from Checkin
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Table
Methods included from Product
Methods included from Order
#create_order, #get_order, #update_order
Methods included from Location
#create_location, #list_locations
Methods included from Checkin
#allocate_table, #create_checkin, #delete_checkin, #get_checkin, #update_checkin
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
55 56 57 58 59 60 |
# File 'lib/doshii/client.rb', line 55 def initialize(={}) = Doshii..merge() Configuration::VALID_CONFIG_KEYS.each do |key| send("#{key}=", [key]) end end |