Sha256: 027a60a9198bc1f943a6b0f5dc07492655d040c11fb8f908500bb80516ebe0b7

Contents?: true

Size: 340 Bytes

Versions: 13

Compression:

Stored size: 340 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

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mangopay-3.0.36 lib/mangopay/pre_authorization.rb
mangopay-3.0.35 lib/mangopay/pre_authorization.rb
mangopay-3.0.34 lib/mangopay/pre_authorization.rb
mangopay-3.0.33 lib/mangopay/pre_authorization.rb
mangopay-3.0.32 lib/mangopay/pre_authorization.rb
mangopay-3.0.31 lib/mangopay/pre_authorization.rb
mangopay-3.0.30.1 lib/mangopay/pre_authorization.rb
mangopay-3.0.30 lib/mangopay/pre_authorization.rb
mangopay-3.0.29 lib/mangopay/pre_authorization.rb
mangopay-3.0.28 lib/mangopay/pre_authorization.rb
mangopay-3.0.27 lib/mangopay/pre_authorization.rb
mangopay-3.0.26 lib/mangopay/pre_authorization.rb
mangopay-3.0.25.pre.alpha.pre.20 lib/mangopay/pre_authorization.rb