Class: Yukon::PaypalExpressGatewayFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/yukon/paypal_express_gateway_factory.rb

Class Method Summary collapse

Class Method Details

.instance(login, password, signature, seller_email) ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'lib/yukon/paypal_express_gateway_factory.rb', line 5

def self.instance(, password, signature, seller_email)
  options = {
    login:     ,
    password:  password,
    signature: signature,
    subject:   seller_email
  }

  ActiveMerchant::Billing::PaypalExpressGateway.new(options)          
end