Sha256: 0ac4b3736506420e3ca3d8d1dba11b508e152e19dfd9ac7f48b5e773f9b6c11d

Contents?: true

Size: 595 Bytes

Versions: 1

Compression:

Stored size: 595 Bytes

Contents

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

# @api public
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/engine" if defined?(Rails)
require "rails_connector/cloud_engine" if defined?(Rails)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
infopark_cloud_connector-7.0.2 lib/infopark_cloud_connector.rb