lib/active_merchant/billing/integrations/world_pay.rb in activemerchant-1.12.1 vs lib/active_merchant/billing/integrations/world_pay.rb in activemerchant-1.13.0
- old
+ new
@@ -23,12 +23,16 @@
else
raise StandardError, "Integration mode set to an invalid value: #{mode}"
end
end
- def self.notification(post)
- Notification.new(post)
- end
+ def self.notification(post, options = {})
+ Notification.new(post, options)
+ end
+
+ def self.return(post, options = {})
+ Return.new(post, options)
+ end
end
end
end
end