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