Module: LightspeedRestaurantClient::Operations::Destroy
- Defined in:
- lib/lightspeed_restaurant/operations/destroy.rb
Instance Method Summary collapse
Instance Method Details
#destroy(configuration = nil) ⇒ Object
6 7 8 9 |
# File 'lib/lightspeed_restaurant/operations/destroy.rb', line 6 def destroy(configuration = nil) JSON.parse(LightspeedRestaurantClient.delete(self.class.default_resource_path + "/#{id}", {}, configuration)) self end |