Module: CoinbaseCommerceClient::APIResources::Base::Update
- Included in:
- Checkout
- Defined in:
- lib/coinbase_commerce_client/api_resources/base/update.rb
Instance Method Summary collapse
Instance Method Details
#modify(id, params = {}) ⇒ Object
5 6 7 8 |
# File 'lib/coinbase_commerce_client/api_resources/base/update.rb', line 5 def modify(id, params={}) resp = @client.request(:put, "#{self::RESOURCE_PATH}/#{id}", params) Util.convert_to_api_object(resp.data, @client, self) end |