Sha256: 9ebd0691fed954151b45a2483b107c9ad4339616ccce3ee16ec11d3e1289e2c9
Contents?: true
Size: 464 Bytes
Versions: 3
Compression:
Stored size: 464 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/model" 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acs-ldap-0.1.4 | lib/acs/ldap.rb |
acs-ldap-0.1.3 | lib/acs/ldap.rb |
acs-ldap-0.1.2 | lib/acs/ldap.rb |