Class: MangoPay::Wallet
- Includes:
- HTTPCalls::Create, HTTPCalls::Fetch, HTTPCalls::Update
- Defined in:
- lib/mangopay/wallet.rb
Overview
Class Method Summary collapse
-
.transactions(wallet_id, filters = {}, headers = nil) ⇒ Object
Fetches list of transactions belonging to the given
wallet_id
.
Methods included from HTTPCalls::Fetch
Methods included from HTTPCalls::Update
Methods included from HTTPCalls::Create
Methods inherited from Resource
Class Method Details
.transactions(wallet_id, filters = {}, headers = nil) ⇒ Object
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)
13 14 15 |
# File 'lib/mangopay/wallet.rb', line 13 def self.transactions(wallet_id, filters = {}, headers = nil) Transaction.fetch(wallet_id, filters, headers) end |