lib/active_merchant/billing/integrations/quickpay.rb in activemerchant-1.4.2 vs lib/active_merchant/billing/integrations/quickpay.rb in activemerchant-1.5.0
- old
+ new
@@ -1,11 +1,10 @@
-require File.dirname(__FILE__) + '/quickpay/helper.rb'
-require File.dirname(__FILE__) + '/quickpay/notification.rb'
-
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
module Integrations #:nodoc:
module Quickpay
+ autoload :Helper, File.dirname(__FILE__) + '/quickpay/helper.rb'
+ autoload :Notification, File.dirname(__FILE__) + '/quickpay/notification.rb'
mattr_accessor :service_url
self.service_url = 'https://secure.quickpay.dk/form/'
def self.notification(post)