Module: LightspeedRestaurantClient::Operations::Update
- Included in:
- Customer
- Defined in:
- lib/lightspeed_restaurant/operations/update.rb
Instance Method Summary collapse
Instance Method Details
#update(id, attributes) ⇒ Object
4 5 6 7 8 |
# File 'lib/lightspeed_restaurant/operations/update.rb', line 4 def update(id, attributes) updated_object = new(attributes) LightspeedRestaurantClient.put(resource_path + "/#{id}", updated_object) updated_object end |