Module: LightspeedRestaurantClient::Operations::Find
- Included in:
- Customer
- Defined in:
- lib/lightspeed_restaurant/operations/find.rb
Instance Method Summary collapse
Instance Method Details
#find(id) ⇒ Object
4 5 6 7 |
# File 'lib/lightspeed_restaurant/operations/find.rb', line 4 def find(id) response = JSON.parse(LightspeedRestaurantClient.get(resource_path + "/#{id}")) new(response) end |