Module: CoinbaseCommerceClient::APIResources::Base::Delete
- Included in:
- Checkout
- Defined in:
- lib/coinbase_commerce_client/api_resources/base/delete.rb
Instance Method Summary collapse
Instance Method Details
#delete ⇒ Object
5 6 7 8 9 |
# File 'lib/coinbase_commerce_client/api_resources/base/delete.rb', line 5 def delete response = @client.request(:delete, "#{self.class::RESOURCE_PATH}/#{self[:id]}") initialize_from(response.data) self end |