Sha256: 0c89e9f49fc48f7edfbf14905ef1cdc5410b5123a8aa0fa7a7266a7997358d4a

Contents?: true

Size: 734 Bytes

Versions: 7

Compression:

Stored size: 734 Bytes

Contents

module Killbill
  module Plugin
    module ActiveMerchant
      require 'killbill'

      require 'killbill/ext/active_merchant/jdbc_connection'
      require 'killbill/ext/active_merchant/proxy_support'

      require 'active_support/core_ext'
      require File.dirname(__FILE__) + '/active_merchant/core_ext.rb'
      require File.dirname(__FILE__) + '/active_merchant/configuration.rb'

      Dir[File.dirname(__FILE__) + '/active_merchant/*.rb'].each do |f|
        # Get camelized class name
        filename = File.basename(f, '.rb')
        # Camelize the string to get the class name
        class_name = filename.camelize.to_sym

        # Register for autoloading
        autoload class_name, f
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
killbill-3.2.4 lib/killbill/helpers/active_merchant.rb
killbill-3.2.3 lib/killbill/helpers/active_merchant.rb
killbill-3.2.2 lib/killbill/helpers/active_merchant.rb
killbill-3.2.1 lib/killbill/helpers/active_merchant.rb
killbill-3.2.0 lib/killbill/helpers/active_merchant.rb
killbill-3.1.12 lib/killbill/helpers/active_merchant.rb
killbill-3.1.11 lib/killbill/helpers/active_merchant.rb