Sha256: 7d48a827b71f1db32a7ff0ad3a9968a962314da5e342a4d0779104c11dead115

Contents?: true

Size: 653 Bytes

Versions: 6

Compression:

Stored size: 653 Bytes

Contents

module MangoPay
  class PayIn < Resource
    include MangoPay::HTTPCalls::Fetch
    include MangoPay::HTTPCalls::Refund

    module Card

      class Web < Resource
        include MangoPay::HTTPCalls::Create
        private
        def self.url(*)
          "/v2/#{MangoPay.configuration.client_id}/payins/card/#{CGI.escape(class_name.downcase)}"
        end
      end

      class Direct < Resource
        include MangoPay::HTTPCalls::Create
        private
        def self.url(*)
          "/v2/#{MangoPay.configuration.client_id}/payins/card/#{CGI.escape(class_name.downcase)}"
        end
      end

    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mangopay-3.0.7 lib/mangopay/payin.rb
mangopay-3.0.6 lib/mangopay/payin.rb
mangopay-3.0.5 lib/mangopay/payin.rb
mangopay-3.0.4 lib/mangopay/payin.rb
mangopay-3.0.3 lib/mangopay/payin.rb
mangopay-3.0.2 lib/mangopay/payin.rb