Sha256: ab96171abafd864a6de9edf03d71f26ca0169480c8beefe1f7e05c59e33d01d2

Contents?: true

Size: 884 Bytes

Versions: 1

Compression:

Stored size: 884 Bytes

Contents

require 'net/ldap'
require 'adauth/version'
require 'adauth/user'
require 'adauth/config'
require 'adauth/helpers'
require 'adauth/connection'
require 'adauth/group'
require 'adauth/admin_connection'
require 'adauth/authenticate'
require 'adauth/user_model'

# The top level module
#
# For Adauths documentation please see the github wiki.
module Adauth
    
    # Used to configure Adauth
    #
    # Called as
    #    Adauth.configure do |c|
    #        c.foo = "bar"
    #    end
    #
    # Configures Adauth and is required for Adauth to work.
    def self.configure
       @config = Config.new
       yield(@config) 
    end
    
    # Returns the config object
    #
    # Allows access to the adauth config object so you can call the config values in your application
    def self.config
        @config
    end
    
    # Rails generators
    module Generators
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adauth-1.2.0 lib/adauth.rb