Sha256: 9afaaa9f1a0aa8f50e2867ce525d2ab712170c2deafa3a05d3386205ceb730e1

Contents?: true

Size: 456 Bytes

Versions: 96

Compression:

Stored size: 456 Bytes

Contents

module ActiveMerchant
  module Billing
    module Integrations        
    
      Dir[File.dirname(__FILE__) + '/integrations/*.rb'].each do |f|      
      
        # Get camelized class name 
        filename = File.basename(f, '.rb')
        # Camelize the string to get the class name
        gateway_class = filename.camelize.to_sym
              
        # Register for autoloading
        autoload gateway_class, f      
      end
    end
  end
end

Version data entries

96 entries across 96 versions & 14 rubygems

Version Path
tanga_activemerchant-1.38.0.5 lib/active_merchant/billing/integrations.rb
tanga_activemerchant-1.38.0.4 lib/active_merchant/billing/integrations.rb
tanga_activemerchant-1.38.0.3 lib/active_merchant/billing/integrations.rb
tanga_activemerchant-1.38.0.2 lib/active_merchant/billing/integrations.rb
tanga_activemerchant-1.38.0.1 lib/active_merchant/billing/integrations.rb
tanga_activemerchant-1.38.0 lib/active_merchant/billing/integrations.rb
tanga_activemerchant-1.37.0 lib/active_merchant/billing/integrations.rb
activemerchant-1.43.3 lib/active_merchant/billing/integrations.rb
activemerchant-1.43.1 lib/active_merchant/billing/integrations.rb
activemerchant-1.43.0 lib/active_merchant/billing/integrations.rb
activemerchant-1.42.9 lib/active_merchant/billing/integrations.rb
activemerchant-1.42.8 lib/active_merchant/billing/integrations.rb
activemerchant-1.42.7 lib/active_merchant/billing/integrations.rb
activemerchant-1.42.6 lib/active_merchant/billing/integrations.rb
activemerchant-1.42.5 lib/active_merchant/billing/integrations.rb
activemerchant-1.42.4 lib/active_merchant/billing/integrations.rb
activemerchant-1.42.3 lib/active_merchant/billing/integrations.rb
activemerchant-1.42.2 lib/active_merchant/billing/integrations.rb
activemerchant-1.42.1 lib/active_merchant/billing/integrations.rb
activemerchant-1.42.0 lib/active_merchant/billing/integrations.rb