Class: ActiveMerchant::Billing::BraintreeGateway
- Includes:
- BraintreeCommon
- Defined in:
- lib/active_merchant/billing/gateways/braintree.rb
Constant Summary
Constants inherited from Gateway
Gateway::CREDIT_DEPRECATION_MESSAGE, Gateway::CURRENCIES_WITHOUT_FRACTIONS, Gateway::DEBIT_CARDS, Gateway::RECURRING_DEPRECATION_MESSAGE, Gateway::STANDARD_ERROR_CODE
Instance Attribute Summary
Attributes inherited from Gateway
Class Method Summary collapse
Methods included from BraintreeCommon
Methods inherited from Gateway
#card_brand, card_brand, #generate_unique_id, inherited, #initialize, non_fractional_currency?, #scrub, supported_countries, #supported_countries, supported_countries=, supports?, #supports_network_tokenization?, #supports_scrubbing?, #test?
Methods included from CreditCardFormatting
Methods included from PostsData
included, #raw_ssl_request, #ssl_get, #ssl_post, #ssl_request
Constructor Details
This class inherits a constructor from ActiveMerchant::Billing::Gateway
Class Method Details
.new(options = {}) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/active_merchant/billing/gateways/braintree.rb', line 10 def self.new(={}) if .has_key?(:login) BraintreeOrangeGateway.new() else BraintreeBlueGateway.new() end end |