Sha256: 67e4947faaca7f9608418b41ed861b9f296da375cd66c29f06e99b8d69a54b93
Contents?: true
Size: 491 Bytes
Versions: 8
Compression:
Stored size: 491 Bytes
Contents
require 'rails' require 'net/ldap' require "acs/ldap/version" require "acs/ldap/logger" require "acs/ldap/result" require "acs/ldap/connector" require "acs/ldap/pusher" require "acs/ldap/mapper" module Acs module Ldap def self.logger @logger || Acs::Ldap::Logger end def self.logger=(logger) @logger = logger end class Railtie < ::Rails::Railtie initializer :acs_ldap do |app| Acs::Ldap.logger = Rails.logger end end end end
Version data entries
8 entries across 8 versions & 1 rubygems