Sha256: 26203ea0de5e3a155bcb34ca894326d8059453ab718847c1d70cf3b0259ae537

Contents?: true

Size: 604 Bytes

Versions: 5

Compression:

Stored size: 604 Bytes

Contents

require 'rails_connector/rack_middlewares'
require 'rails_connector/core_extensions'
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

  autoload :AttrValueProvider, "rails_connector/attr_value_provider_loader"
end

autoload :Comment, "comment"
autoload :Rating, "rating"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
infopark_fiona_connector-6.8.0.110.6570b45 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.72.d18d096 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.23.da7f96b lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.16.def5e85 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.beta.200.891.647580e lib/infopark_fiona_connector.rb