lib/mangopay/pre_authorization.rb in mangopay-3.0.36 vs lib/mangopay/pre_authorization.rb in mangopay-3.0.37

- old
+ new

@@ -7,7 +7,11 @@ 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