app/models/gateway_notification.rb in supercharged-2.1.0 vs app/models/gateway_notification.rb in supercharged-2.2.0

- old
+ new

@@ -45,10 +45,10 @@ end private def adapter - @adapter ||= "ActiveMerchant::Billing::Integrations::#{gateway.classify}::Notification".classify.constantize.new(raw_post) + @adapter ||= "ActiveMerchant::Billing::Integrations::#{gateway.classify}::Notification".classify.constantize.new(raw_post, Supercharged::Helpers.integrations_options(gateway)) rescue NameError raise "Unknown integration '#{gateway}'" end def set_charge_id