Class: Coinbase::Wallet::Transfer
- Defined in:
- lib/coinbase/wallet/models/transfer.rb
Instance Method Summary collapse
Methods inherited from APIObject
#format, #initialize, #method_missing, #refresh!, #respond_to_missing?, #update
Constructor Details
This class inherits a constructor from Coinbase::Wallet::APIObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Coinbase::Wallet::APIObject
Instance Method Details
#commit!(params = {}) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/coinbase/wallet/models/transfer.rb', line 4 def commit!(params = {}) @client.post("#{self['resource_path']}/commit", params) do |resp| update(resp.data) yield(resp.data, resp) if block_given? end end |