Sha256: 1722e73dbf8daf66786fe6ed21297b0a9bfa9bcec0631586b173c851f3597b26

Contents?: true

Size: 692 Bytes

Versions: 1

Compression:

Stored size: 692 Bytes

Contents

module FreshConnection
  autoload :ConnectionManager, 'fresh_connection/connection_manager'
  autoload :AbstractConnectionManager, 'fresh_connection/abstract_connection_manager'
  autoload :ConnectionManager, 'fresh_connection/connection_manager'
  autoload :ConnectionFactory, 'fresh_connection/connection_factory'
  autoload :SlaveConnectionHandler, 'fresh_connection/slave_connection_handler'
  autoload :AccessControl, 'fresh_connection/access_control'

  class << self
    attr_writer :connection_manager

    def connection_manager
      @connection_manager || ConnectionManager
    end
  end
end

require 'fresh_connection/extend'
require 'fresh_connection/railtie' if defined?(Rails)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fresh_connection-2.0.0 lib/fresh_connection.rb