Sha256: bf8bb1900aeb9a48ffbec9c6ef14513483b81b27513dec32a16a0057aeb3c765

Contents?: true

Size: 643 Bytes

Versions: 17

Compression:

Stored size: 643 Bytes

Contents

module MangoPay

  # See http://docs.mangopay.com/api-references/wallets/
  class Wallet < Resource
    include HTTPCalls::Create
    include HTTPCalls::Update
    include HTTPCalls::Fetch

    # Fetches list of transactions belonging to the given +wallet_id+.
    # Optional +filters+ is a hash accepting following keys:
    # - +page+, +per_page+, +sort+: pagination and sorting params (see MangoPay::HTTPCalls::Fetch::ClassMethods#fetch)
    # - other keys specific for transactions filtering (see MangoPay::Transaction.fetch)
    def self.transactions(wallet_id, filters = {})
      Transaction.fetch(wallet_id, filters)
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
mangopay-3.2.0 lib/mangopay/wallet.rb
mangopay-3.1.0 lib/mangopay/wallet.rb
mangopay-3.0.38 lib/mangopay/wallet.rb
mangopay-3.0.37 lib/mangopay/wallet.rb
mangopay-3.0.36 lib/mangopay/wallet.rb
mangopay-3.0.35 lib/mangopay/wallet.rb
mangopay-3.0.34 lib/mangopay/wallet.rb
mangopay-3.0.33 lib/mangopay/wallet.rb
mangopay-3.0.32 lib/mangopay/wallet.rb
mangopay-3.0.31 lib/mangopay/wallet.rb
mangopay-3.0.30.1 lib/mangopay/wallet.rb
mangopay-3.0.30 lib/mangopay/wallet.rb
mangopay-3.0.29 lib/mangopay/wallet.rb
mangopay-3.0.28 lib/mangopay/wallet.rb
mangopay-3.0.27 lib/mangopay/wallet.rb
mangopay-3.0.26 lib/mangopay/wallet.rb
mangopay-3.0.25.pre.alpha.pre.20 lib/mangopay/wallet.rb