lib/active_merchant/billing/integrations/gestpay.rb in activemerchant-1.2.1 vs lib/active_merchant/billing/integrations/gestpay.rb in activemerchant-1.3.0
- old
+ new
@@ -1,10 +1,11 @@
# With help from Giovanni Intini and his code for RGestPay - http://medlar.it/it/progetti/rgestpay
require File.dirname(__FILE__) + '/gestpay/common.rb'
require File.dirname(__FILE__) + '/gestpay/helper.rb'
require File.dirname(__FILE__) + '/gestpay/notification.rb'
+require File.dirname(__FILE__) + '/gestpay/return.rb'
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
module Integrations #:nodoc:
module Gestpay
@@ -13,9 +14,13 @@
self.service_url = 'https://ecomm.sella.it/gestpay/pagam.asp'
def self.notification(post)
Notification.new(post)
end
+
+ def self.return(query_string)
+ Return.new(query_string)
+ end
end
end
end
end