Sha256: 715e6b672fe64d31fccd6c05d73ac0129e037ad0290c7bc4a66be52660c9205c

Contents?: true

Size: 440 Bytes

Versions: 79

Compression:

Stored size: 440 Bytes

Contents

require 'active_merchant/billing/gateways/braintree/braintree_common'

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class BraintreeGateway < Gateway
      include BraintreeCommon

      self.abstract_class = true

      def self.new(options={})
        if options.has_key?(:login)
          BraintreeOrangeGateway.new(options)
        else
          BraintreeBlueGateway.new(options)
        end
      end
    end
  end
end

Version data entries

79 entries across 79 versions & 4 rubygems

Version Path
activemerchant-1.114.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.113.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.112.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.111.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.110.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.109.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.108.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.107.4 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.107.3 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.107.2 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.107.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.106.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.105.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.104.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.103.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.102.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.101.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.100.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.99.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.98.0 lib/active_merchant/billing/gateways/braintree.rb