Module: CoinbaseCommerceClient::APIResources::Base::Resolve

Included in:
Charge
Defined in:
lib/coinbase_commerce_client/api_resources/base/resolve.rb

Instance Method Summary collapse

Instance Method Details

#resolveObject



5
6
7
8
9
# File 'lib/coinbase_commerce_client/api_resources/base/resolve.rb', line 5

def resolve
  resp = @client.request(:post, "#{self.class::RESOURCE_PATH}/#{self[:id]}/resolve", self)
  initialize_from(resp.data)
  self
end