Sha256: f87ba22efbbd8d102405e4986c9dcbce82189b25bbb00d09f258686da82da59b
Contents?: true
Size: 660 Bytes
Versions: 11
Compression:
Stored size: 660 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
11 entries across 11 versions & 1 rubygems