Sha256: a63e2f9be9ae5279cf2506d46afe0e99a018818280a5b7d7db281227673b85e2

Contents?: true

Size: 442 Bytes

Versions: 28

Compression:

Stored size: 442 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

28 entries across 28 versions & 4 rubygems

Version Path
swiss-crm-activemerchant-1.0.13 lib/active_merchant/billing/gateways/braintree.rb
swiss-crm-activemerchant-1.0.12 lib/active_merchant/billing/gateways/braintree.rb
swiss-activemerchant-1.0.11 lib/active_merchant/billing/gateways/braintree.rb
swiss-activemerchant-1.0.10 lib/active_merchant/billing/gateways/braintree.rb
swiss-activemerchant-1.0.9 lib/active_merchant/billing/gateways/braintree.rb
swiss-activemerchant-1.0.8 lib/active_merchant/billing/gateways/braintree.rb
swiss-activemerchant-1.0.7 lib/active_merchant/billing/gateways/braintree.rb
swiss-activemerchant-1.0.6 lib/active_merchant/billing/gateways/braintree.rb
swiss-activemerchant-1.0.5 lib/active_merchant/billing/gateways/braintree.rb
swiss-activemerchant-1.0.4 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.137.0 lib/active_merchant/billing/gateways/braintree.rb
swiss-activemerchant-1.0.2 lib/active_merchant/billing/gateways/braintree.rb
swiss-activemerchant-1.0.1 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.133.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.131.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.130.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.129.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.126.0 lib/active_merchant/billing/gateways/braintree.rb
activemerchant-1.125.0 lib/active_merchant/billing/gateways/braintree.rb
archetype2142_activemerchant-1.124.0 lib/active_merchant/billing/gateways/braintree.rb