Module: LightspeedRestaurantClient::Operations::Find

Included in:
Company, Customer
Defined in:
lib/lightspeed_restaurant/operations/find.rb

Instance Method Summary collapse

Instance Method Details

#find(id, configuration = nil) ⇒ Object



6
7
8
9
# File 'lib/lightspeed_restaurant/operations/find.rb', line 6

def find(id, configuration = nil)
  response = JSON.parse(LightspeedRestaurantClient.get(default_resource_path + "/#{id}", {}, configuration))
  new(response)
end