Sha256: d7cb27b379deed9dd31d640c88eac8da25717672110f382985d7d770f744d4e9
Contents?: true
Size: 950 Bytes
Versions: 34
Compression:
Stored size: 950 Bytes
Contents
module Killbill::PaypalExpress class Gateway include Singleton def configure(config) if config[:test] ActiveMerchant::Billing::Base.mode = :test end if config[:log_file] ActiveMerchant::Billing::PaypalExpressGateway.wiredump_device = File.open(config[:log_file], 'w') ActiveMerchant::Billing::PaypalExpressGateway.wiredump_device.sync = true end @gateway = ActiveMerchant::Billing::PaypalExpressGateway.new({ :signature => config[:signature], :login => config[:login], :password => config[:password] }) end def method_missing(m, *args, &block) @gateway.send(m, *args, &block) end end end
Version data entries
34 entries across 34 versions & 1 rubygems