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
tanga_activemerchant-1.38.0.5 lib/active_merchant/billing/gateways/braintree.rb
tanga_activemerchant-1.38.0.4 lib/active_merchant/billing/gateways/braintree.rb
tanga_activemerchant-1.38.0.3 lib/active_merchant/billing/gateways/braintree.rb
tanga_activemerchant-1.38.0.2 lib/active_merchant/billing/gateways/braintree.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/activemerchant-1.44.1/lib/active_merchant/billing/gateways/braintree.rb
tanga_activemerchant-1.38.0.1 lib/active_merchant/billing/gateways/braintree.rb
tanga_activemerchant-1.38.0 lib/active_merchant/billing/gateways/braintree.rb
tanga_activemerchant-1.37.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.45.0 lib/active_merchant/billing/gateways/braintree.rb
aktivemerchant-2.0.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.44.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.44.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.43.3 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.43.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.43.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.42.9 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.42.8 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.42.7 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.42.6 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.42.5 lib/active_merchant/billing/gateways/braintree.rb