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.60.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.59.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.58.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.57.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.56.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.55.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.54.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.53.0 lib/active_merchant/billing/gateways/braintree.rb
start_activemerchant-1.50.0 lib/active_merchant/billing/gateways/braintree.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/activemerchant-1.48.0/lib/active_merchant/billing/gateways/braintree.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/activemerchant-1.48.0/lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.52.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.51.0 lib/active_merchant/billing/gateways/braintree.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/activemerchant-1.48.0/lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.50.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.49.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.48.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.47.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.46.0 lib/active_merchant/billing/gateways/braintree.rb