lib/active_merchant/billing/integrations/nochex.rb in activemerchant-1.4.2 vs lib/active_merchant/billing/integrations/nochex.rb in activemerchant-1.5.0

- old
+ new

@@ -1,8 +1,5 @@ -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 @@ -63,9 +60,13 @@ # head(:ok) # end # end # end module Nochex + autoload :Return, File.dirname(__FILE__) + '/nochex/return.rb' + autoload :Helper, File.dirname(__FILE__) + '/nochex/helper.rb' + autoload :Notification, File.dirname(__FILE__) + '/nochex/notification.rb' + mattr_accessor :service_url self.service_url = 'https://www.nochex.com/nochex.dll/checkout' mattr_accessor :notification_confirmation_url \ No newline at end of file