Sha256: 1ae94ead408b7d8480c315a6d1bbd40f98e741d74f3c4d4e0b85e37a76d300a1
Contents?: true
Size: 500 Bytes
Versions: 34
Compression:
Stored size: 500 Bytes
Contents
module MangoPay # See http://docs.mangopay.com/api-references/payins/preauthorized-payin/ class PreAuthorization < Resource include HTTPCalls::Update include HTTPCalls::Fetch def self.create(params, idempotency_key = nil) MangoPay.request(:post, "#{url}/card/direct", params, {}, idempotency_key) end def self.transactions(pre_authorization_id, filters = {}) MangoPay.request(:get, "#{url}/#{pre_authorization_id}/transactions", {}, filters) end end end
Version data entries
34 entries across 34 versions & 1 rubygems