lib/active_merchant/billing/integrations/nochex.rb in activemerchant-1.2.1 vs lib/active_merchant/billing/integrations/nochex.rb in activemerchant-1.3.0

- old
+ new

@@ -1,7 +1,8 @@ require File.dirname(__FILE__) + '/nochex/helper.rb' require File.dirname(__FILE__) + '/nochex/notification.rb' +require File.dirname(__FILE__) + '/nochex/return.rb' module ActiveMerchant #:nodoc: module Billing #:nodoc: module Integrations #:nodoc: # To start with Nochex, follow the instructions for installing @@ -74,9 +75,13 @@ # Simply a convenience method that returns a new # ActiveMerchant::Billing::Integrations::Nochex::Notification def self.notification(post) Notification.new(post) end + + def self.return(query_string) + Return.new(query_string) + end end end end end \ No newline at end of file