Module: LightspeedRestaurantClient::Operations::Save

Included in:
Customer
Defined in:
lib/lightspeed_restaurant/operations/save.rb

Instance Method Summary collapse

Instance Method Details

#save(configuration = nil) ⇒ Object



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

def save(configuration = nil)
  LightspeedRestaurantClient.put(self.class.default_resource_path + "/#{id}", self, {}, configuration)
  self
end