Sha256: e24fdcad5ad68016623576c825d5165de1586ca4681b7673bf7a580cc8c6d874

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

require 'rails_connector/rack_middlewares'
require "rails_connector/errors"

module RailsConnector
  def self.autoload_all_sources
    source_files = Dir.glob(File.expand_path("../rails_connector/*.rb", __FILE__)).map do |file|
      File.basename(file)
    end

    source_files.each do |file|
      name = file.gsub(".rb", "")
      autoload name.camelcase, "rails_connector/#{name}"
    end
  end

  autoload_all_sources
end

require "rails_connector/cloud_engine" if defined?(Rails)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
infopark_cloud_connector-6.8.0.210.ed204b0 lib/infopark_cloud_connector.rb