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.45 config/initializers/11_payment.rb
workarea-core-3.4.44 config/initializers/11_payment.rb
workarea-core-3.4.43 config/initializers/11_payment.rb
workarea-core-3.4.42 config/initializers/11_payment.rb
workarea-core-3.4.41 config/initializers/11_payment.rb
workarea-core-3.4.40 config/initializers/11_payment.rb
workarea-core-3.4.39 config/initializers/11_payment.rb
workarea-core-3.4.38 config/initializers/11_payment.rb
workarea-core-3.4.37 config/initializers/11_payment.rb
workarea-core-3.4.36 config/initializers/11_payment.rb
workarea-core-3.4.35 config/initializers/11_payment.rb
workarea-core-3.4.34 config/initializers/11_payment.rb
workarea-core-3.4.33 config/initializers/11_payment.rb
workarea-core-3.4.32 config/initializers/11_payment.rb
workarea-core-3.4.31 config/initializers/11_payment.rb
workarea-core-3.4.30 config/initializers/11_payment.rb
workarea-core-3.4.29 config/initializers/11_payment.rb
workarea-core-3.4.28 config/initializers/11_payment.rb
workarea-core-3.4.27 config/initializers/11_payment.rb
workarea-core-3.4.26 config/initializers/11_payment.rb