Sha256: 26b8a9fbeb51f9f475403c4ad4e83f65c3b90b78ad233ad25a7f8b3d0b2d4824

Contents?: true

Size: 439 Bytes

Versions: 53

Compression:

Stored size: 439 Bytes

Contents

require File.dirname(__FILE__) + '/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

53 entries across 53 versions & 6 rubygems

Version Path
activemerchant-1.42.4 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.42.3 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.42.2 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.42.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.42.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.41.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.40.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.39.2 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.39.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.39.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.38.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.38.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.37.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.36.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.35.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.35.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.34.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.34.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.33.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.32.1 lib/active_merchant/billing/gateways/braintree.rb