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.32.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.31.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.31.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.30.0 lib/active_merchant/billing/gateways/braintree.rb
jelaniharris-activemerchant-1.29.2 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.29.3 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.29.2 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.29.1 lib/active_merchant/billing/gateways/braintree.rb
jelaniharris-activemerchant-1.29.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.29.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-nsp-1.27.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.28.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.27.0 lib/active_merchant/billing/gateways/braintree.rb