Sha256: 7f6bc47839ce6162fad4568c0b9822193bcbfe747c13958addb5d7260ee993d6

Contents?: true

Size: 760 Bytes

Versions: 39

Compression:

Stored size: 760 Bytes

Contents

module Killbill
  module Plugin
    module ActiveMerchant
      require 'killbill'

      require 'killbill/helpers/properties_helper'
      require 'killbill/helpers/active_merchant/active_record/active_record_helper.rb'

      require 'active_support'

      require 'active_support/core_ext'
      require 'killbill/helpers/active_merchant/core_ext'
      require 'killbill/helpers/active_merchant/configuration'

      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

39 entries across 39 versions & 1 rubygems

Version Path
killbill-9.4.1 lib/killbill/helpers/active_merchant.rb
killbill-8.3.6 lib/killbill/helpers/active_merchant.rb
killbill-9.4.0 lib/killbill/helpers/active_merchant.rb
killbill-9.3.2 lib/killbill/helpers/active_merchant.rb
killbill-9.3.1 lib/killbill/helpers/active_merchant.rb
killbill-8.3.5 lib/killbill/helpers/active_merchant.rb
killbill-9.3.0 lib/killbill/helpers/active_merchant.rb
killbill-9.2.2 lib/killbill/helpers/active_merchant.rb
killbill-8.3.4 lib/killbill/helpers/active_merchant.rb
killbill-8.3.3 lib/killbill/helpers/active_merchant.rb
killbill-9.2.1 lib/killbill/helpers/active_merchant.rb
killbill-9.2.0 lib/killbill/helpers/active_merchant.rb
killbill-8.3.2 lib/killbill/helpers/active_merchant.rb
killbill-8.3.1 lib/killbill/helpers/active_merchant.rb
killbill-8.3.0 lib/killbill/helpers/active_merchant.rb
killbill-8.2.0 lib/killbill/helpers/active_merchant.rb
killbill-8.1.0 lib/killbill/helpers/active_merchant.rb
killbill-7.0.6 lib/killbill/helpers/active_merchant.rb
killbill-8.0.1 lib/killbill/helpers/active_merchant.rb
killbill-8.0.0 lib/killbill/helpers/active_merchant.rb