module LightspeedRestaurantClient::Operations::Update

Public Instance Methods

update(id, attributes, configuration = nil) click to toggle source
# File lib/lightspeed_restaurant/operations/update.rb, line 6
def update(id, attributes, configuration = nil)
  updated_object = new(attributes)
  LightspeedRestaurantClient.put(default_resource_path + "/#{id}", updated_object, {}, configuration)
  updated_object
end