lib/active_merchant/billing/gateways/braintree.rb in activemerchant-1.114.0 vs lib/active_merchant/billing/gateways/braintree.rb in activemerchant-1.116.0

- old
+ new

@@ -5,10 +5,10 @@ class BraintreeGateway < Gateway include BraintreeCommon self.abstract_class = true - def self.new(options={}) + def self.new(options = {}) if options.has_key?(:login) BraintreeOrangeGateway.new(options) else BraintreeBlueGateway.new(options) end