Sha256: 28e2810c09e65e20530cc0c3aaf681194e6c50406c4c2a98548bb2e68968370d

Contents?: true

Size: 274 Bytes

Versions: 34

Compression:

Stored size: 274 Bytes

Contents

if Rails.env.test? || Rails.env.development?
  ActiveMerchant::Billing::Base.mode = :test
end

if Workarea.config.gateways.credit_card.blank?
  Workarea.config.gateways.credit_card = ActiveMerchant::Billing::BogusGateway.new
  ActiveMerchant::Billing::Base.mode = :test
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
workarea-core-3.4.25 config/initializers/11_payment.rb
workarea-core-3.4.24 config/initializers/11_payment.rb
workarea-core-3.4.23 config/initializers/11_payment.rb
workarea-core-3.4.22 config/initializers/11_payment.rb
workarea-core-3.4.21 config/initializers/11_payment.rb
workarea-core-3.4.20 config/initializers/11_payment.rb
workarea-core-3.4.19 config/initializers/11_payment.rb
workarea-core-3.4.18 config/initializers/11_payment.rb
workarea-core-3.4.17 config/initializers/11_payment.rb
workarea-core-3.4.16 config/initializers/11_payment.rb
workarea-core-3.4.15 config/initializers/11_payment.rb
workarea-core-3.4.14 config/initializers/11_payment.rb
workarea-core-3.4.13 config/initializers/11_payment.rb
workarea-core-3.4.12 config/initializers/11_payment.rb