Module: SweetTooth::APIOperations::Delete
- Included in:
- Customer
- Defined in:
- lib/sweettooth/api_operations/delete.rb
Instance Method Summary collapse
Instance Method Details
#delete ⇒ Object
4 5 6 7 8 |
# File 'lib/sweettooth/api_operations/delete.rb', line 4 def delete response, api_key = SweetTooth.request(:delete, url, @api_key) refresh_from(response, api_key) self end |