Sha256: 783666740bff5ebbb8743e4534b4f63be63b83fcaea875286aa1c1a654c2ef5e

Contents?: true

Size: 1.19 KB

Versions: 22

Compression:

Stored size: 1.19 KB

Contents

module Braintree
  module TransparentRedirect
    module Kind # :nodoc:
      CreateCustomer = "create_customer"
      UpdateCustomer = "update_customer"
      CreatePaymentMethod = "create_payment_method"
      UpdatePaymentMethod = "update_payment_method"
      CreateTransaction = "create_transaction"
    end

    def self.confirm(*args)
      Configuration.gateway.transparent_redirect.confirm(*args)
    end

    def self.create_credit_card_data(*args)
      Configuration.gateway.transparent_redirect.create_credit_card_data(*args)
    end

    def self.create_customer_data(*args)
      Configuration.gateway.transparent_redirect.create_customer_data(*args)
    end

    def self.transaction_data(*args)
      Configuration.gateway.transparent_redirect.transaction_data(*args)
    end

    def self.update_credit_card_data(*args)
      Configuration.gateway.transparent_redirect.update_credit_card_data(*args)
    end

    def self.update_customer_data(*args)
      Configuration.gateway.transparent_redirect.update_customer_data(*args)
    end

    # Returns the URL to which Transparent Redirect Requests should be posted
    def self.url
      Configuration.gateway.transparent_redirect.url
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
braintree-2.104.1 lib/braintree/transparent_redirect.rb
braintree-2.104.0 lib/braintree/transparent_redirect.rb
braintree-2.103.0 lib/braintree/transparent_redirect.rb
braintree-2.102.0 lib/braintree/transparent_redirect.rb
braintree-2.101.0 lib/braintree/transparent_redirect.rb
braintree-2.100.0 lib/braintree/transparent_redirect.rb
braintree-2.99.0 lib/braintree/transparent_redirect.rb
braintree-2.98.0 lib/braintree/transparent_redirect.rb
braintree-2.97.0 lib/braintree/transparent_redirect.rb
braintree-2.96.0 lib/braintree/transparent_redirect.rb
braintree-2.95.0 lib/braintree/transparent_redirect.rb
braintree-2.94.0 lib/braintree/transparent_redirect.rb
braintree-2.93.0 lib/braintree/transparent_redirect.rb
braintree-2.92.0 lib/braintree/transparent_redirect.rb
braintree-2.91.0 lib/braintree/transparent_redirect.rb
braintree-2.90.0 lib/braintree/transparent_redirect.rb
braintree-2.89.0 lib/braintree/transparent_redirect.rb
braintree-2.88.0 lib/braintree/transparent_redirect.rb
braintree-2.87.0 lib/braintree/transparent_redirect.rb
braintree-2.86.0 lib/braintree/transparent_redirect.rb