Sha256: f7a1d3ffa55f4d4cf2d8ffcd81770cf2188475b3f2dbe7cf52e68a672ee2df1d
Contents?: true
Size: 919 Bytes
Versions: 5
Compression:
Stored size: 919 Bytes
Contents
if defined? Saasaparilla::CONFIG if Rails.env == "production" ::GATEWAYCIM = ActiveMerchant::Billing::AuthorizeNetCimGateway.new( :login => Saasaparilla::CONFIG["auth_dot_net_login"], :password => Saasaparilla::CONFIG["auth_dot_net_password"] ) elsif Rails.env == "test" ActiveMerchant::Billing::Base.mode = :test ::GATEWAYCIM = AuthorizeNetCimGatewayTest.new ::GATEWAY = AuthorizeNetGatewayTest.new ::EXPRESSGATEWAY = ActiveMerchant::Billing::BogusGateway.new else ActiveMerchant::Billing::Base.mode = :test ::GATEWAYCIM = ActiveMerchant::Billing::AuthorizeNetCimGateway.new( :login => Saasaparilla::CONFIG["auth_dot_net_login"], :password => Saasaparilla::CONFIG["auth_dot_net_password"], :test => true ) ActiveMerchant::Billing::Base.gateway_mode = :test ActiveMerchant::Billing::Base.integration_mode = :test end end
Version data entries
5 entries across 5 versions & 1 rubygems