lib/active_merchant/billing/integrations/chronopay.rb in activemerchant-1.4.2 vs lib/active_merchant/billing/integrations/chronopay.rb in activemerchant-1.5.0
- old
+ new
@@ -1,12 +1,13 @@
-require 'active_merchant/billing/integrations/chronopay/helper.rb'
-require 'active_merchant/billing/integrations/chronopay/notification.rb'
-require 'active_merchant/billing/integrations/chronopay/return.rb'
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
module Integrations #:nodoc:
module Chronopay
+ autoload :Return, 'active_merchant/billing/integrations/chronopay/return.rb'
+ autoload :Helper, 'active_merchant/billing/integrations/chronopay/helper.rb'
+ autoload :Notification, 'active_merchant/billing/integrations/chronopay/notification.rb'
+
mattr_accessor :service_url
self.service_url = 'https://secure.chronopay.com/index_shop.cgi'
def self.notification(post)
Notification.new(post)