lib/mangopay/pre_authorization.rb in mangopay-3.0.25 vs lib/mangopay/pre_authorization.rb in mangopay-3.0.26

- old
+ new

@@ -1,13 +1,13 @@ -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 - - end -end +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 + + end +end