Sha256: a19fc8c1d6199e671d856df3b8bef1fcadfa88d1911a2267b0225704e5900518
Contents?: true
Size: 753 Bytes
Versions: 47
Compression:
Stored size: 753 Bytes
Contents
module MangoPay # See http://docs.mangopay.com/api-references/events/ class Event < Resource # Fetches list of events (PayIns, PayOuts, Transfers). # # Optional +filters+ is a hash accepting following keys: # - +page+, +per_page+, +sort+: pagination and sorting params (see MangoPay::HTTPCalls::Fetch::ClassMethods#fetch) # - +EventType+: {PAYIN_NORMAL_CREATED, PAYIN_NORMAL_SUCCEEDED, PAYIN_NORMAL_FAILED etc...} (see http://docs.mangopay.com/api-references/events/) # - +BeforeDate+ (timestamp): filters events with Date _before_ this date # - +AfterDate+ (timestamp): filters events with Date _after_ this date # def self.fetch(filters={}) MangoPay.request(:get, url(), {}, filters) end end end
Version data entries
47 entries across 47 versions & 1 rubygems