lib/spree_gateway/engine.rb in spree_gateway-3.9.4 vs lib/spree_gateway/engine.rb in spree_gateway-3.10.0

- old
+ new

@@ -2,10 +2,10 @@ class Engine < Rails::Engine engine_name 'spree_gateway' config.autoload_paths += %W(#{config.root}/lib) - initializer "spree.gateway.payment_methods", :after => "spree.register.payment_methods" do |app| + config.after_initialize do |app| app.config.spree.payment_methods << Spree::Gateway::AuthorizeNet app.config.spree.payment_methods << Spree::Gateway::AuthorizeNetCim app.config.spree.payment_methods << Spree::Gateway::BalancedGateway app.config.spree.payment_methods << Spree::Gateway::Banwire app.config.spree.payment_methods << Spree::Gateway::Beanstream