module PsuDir

Constants

VERSION

Public Class Methods

ldap_unwilling_sleep() click to toggle source
# File lib/psu_dir.rb, line 24
def ldap_unwilling_sleep
  @ldap_unwilling_sleep ||= ENV.fetch('ldap_unwilling_sleep', 2).to_i
end
logger() click to toggle source
# File lib/psu_dir.rb, line 16
def logger
  @logger ||= if Rails.try(:logger)
                Rails.logger
              else
                Logger.new(STDOUT)
              end
end