Class: ActiveMerchant::Billing::BraintreeOrangeGateway

Inherits:
SmartPs
  • Object
show all
Includes:
BraintreeCommon
Defined in:
lib/active_merchant/billing/gateways/braintree_orange.rb

Constant Summary

Constants inherited from Gateway

Gateway::CREDIT_DEPRECATION_MESSAGE, Gateway::CURRENCIES_WITHOUT_FRACTIONS, Gateway::DEBIT_CARDS

Instance Attribute Summary

Attributes inherited from Gateway

#options

Instance Method Summary collapse

Methods included from BraintreeCommon

included

Methods inherited from SmartPs

#amend, #authorize, #capture, #credit, #delete, #initialize, #purchase, #refund, #store, #update, #void

Methods inherited from Gateway

#card_brand, card_brand, inherited, #initialize, supports?, #test?

Methods included from CreditCardFormatting

#format

Constructor Details

This class inherits a constructor from ActiveMerchant::Billing::SmartPs

Instance Method Details

#add_processor(post, options) ⇒ Object



13
14
15
# File 'lib/active_merchant/billing/gateways/braintree_orange.rb', line 13

def add_processor(post, options)
  post[:processor_id] = options[:processor] unless options[:processor].nil?
end