Class: Cwallet::Wallet::Address
- Defined in:
- lib/cwallet/wallet/models/address.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 Cwallet::Wallet::APIObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Cwallet::Wallet::APIObject
Instance Method Details
#transactions(params = {}) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/cwallet/wallet/models/address.rb', line 4 def transactions(params = {}) @client.get("#{self['resource_path']}/transactions", params) do |resp| out = resp.data.map { |item| Transaction.new(self, item) } yield(out, resp) if block_given? end end |