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