Class: ActiveMerchant::Billing::BraintreeGateway
- Includes:
- BraintreeCommon
- Defined in:
- lib/active_merchant/billing/gateways/braintree.rb
Constant Summary
Constants inherited from Gateway
Instance Attribute Summary
Attributes inherited from Gateway
Class Method Summary collapse
Methods included from BraintreeCommon
Methods inherited from Gateway
#card_brand, card_brand, inherited, #initialize, supports?, #test?
Methods included from Utils
Methods included from CreditCardFormatting
Methods included from RequiresParameters
Methods included from PostsData
Constructor Details
This class inherits a constructor from ActiveMerchant::Billing::Gateway
Class Method Details
.new(options = {}) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/active_merchant/billing/gateways/braintree.rb', line 8 def self.new(={}) if .has_key?(:login) BraintreeOrangeGateway.new() else BraintreeBlueGateway.new() end end |