Module: Authlogic::ActsAsAuthentic::Base

Defined in:
lib/authlogic/acts_as_authentic/base.rb

Overview

Provides the base functionality for acts_as_authentic

Defined Under Namespace

Modules: Config

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/authlogic/acts_as_authentic/base.rb', line 5

def self.included(klass)
  klass.class_eval do
    class_attribute :acts_as_authentic_modules, :acts_as_authentic_config
    self.acts_as_authentic_modules ||= []
    self.acts_as_authentic_config  ||= {}
    extend Config
  end
end