Module: BraintreeCommon

Included in:
ActiveMerchant::Billing::BraintreeBlueGateway, ActiveMerchant::Billing::BraintreeGateway, ActiveMerchant::Billing::BraintreeOrangeGateway
Defined in:
lib/active_merchant/billing/gateways/braintree/braintree_common.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
6
7
8
# File 'lib/active_merchant/billing/gateways/braintree/braintree_common.rb', line 2

def self.included(base)
  base.supported_countries = ['US']
  base.supported_cardtypes = [:visa, :master, :american_express, :discover, :jcb]
  base.homepage_url = 'http://www.braintreepaymentsolutions.com'
  base.display_name = 'Braintree'
  base.default_currency = 'USD'
end