Sha256: d7839487fc62031345e2fe003ddcd426f25b18dea81cc3f1e8db0267239613b3
Contents?: true
Size: 735 Bytes
Versions: 2
Compression:
Stored size: 735 Bytes
Contents
# make the bogus gateway be classified correctly by the inflector if defined?(ActiveSupport::Inflector) ActiveSupport::Inflector.inflections do |inflect| inflect.uncountable 'bogus' end else Inflector.inflections do |inflect| inflect.uncountable 'bogus' end end 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activemerchant-est-1.4.2.6 | lib/active_merchant/billing/integrations.rb |
activemerchant-est-1.4.2.5 | lib/active_merchant/billing/integrations.rb |