lib/solidus_nexio/engine.rb in solidus_nexio-0.3.2 vs lib/solidus_nexio/engine.rb in solidus_nexio-0.3.3

- old
+ new

@@ -23,7 +23,11 @@ config.after_initialize do |app| app.config.spree.payment_methods << SolidusNexio::PaymentMethod ::Spree::PermittedAttributes.source_attributes.push(:encrypted_number) SolidusNexio::Engine.routes.default_url_options = app.routes.default_url_options end + + unless Rails.env.production? + ActiveMerchant::Billing::NexioGateway.logger = Rails.logger + end end end