class FfcrmLdap::LDAPAccess::Config
Public Class Methods
config()
click to toggle source
# File lib/ffcrm_ldap/ldap_access.rb, line 58 def self.config @config ||= YAML.load_file(File.join(Rails.root, %w(config ldap.yml)))[Rails.env] end
method_missing(name, *args)
click to toggle source
Calls superclass method
# File lib/ffcrm_ldap/ldap_access.rb, line 49 def self.method_missing(name, *args) if config.has_key?(name.to_s) config[name.to_s] else super end end