class ActiveMerchant::Billing::BraintreeGateway

Public Class Methods

new(options = {}) click to toggle source
# File lib/active_merchant/billing/gateways/braintree.rb, line 10
def self.new(options = {})
  if options.has_key?(:login)
    BraintreeOrangeGateway.new(options)
  else
    BraintreeBlueGateway.new(options)
  end
end