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
active_accountability_merchant-1.97.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.97.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.96.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.95.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.94.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.93.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.92.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.91.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.90.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.89.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.88.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.87.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.86.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.85.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.84.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.83.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.82.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.81.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.80.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.79.2 lib/active_merchant/billing/gateways/braintree.rb