Class: Authlogic::ActiveRecord::ScopedSession
- Inherits:
-
Object
- Object
- Authlogic::ActiveRecord::ScopedSession
- Defined in:
- lib/authlogic/active_record/scoped_session.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#find_options ⇒ Object
Returns the value of attribute find_options.
-
#id ⇒ Object
Returns the value of attribute id.
-
#klass ⇒ Object
Returns the value of attribute klass.
Instance Method Summary collapse
-
#initialize(klass, find_options, id) ⇒ ScopedSession
constructor
A new instance of ScopedSession.
Constructor Details
#initialize(klass, find_options, id) ⇒ ScopedSession
Returns a new instance of ScopedSession.
6 7 8 9 10 |
# File 'lib/authlogic/active_record/scoped_session.rb', line 6 def initialize(klass, , id) self.klass = klass self. = self.id = id end |
Instance Attribute Details
#find_options ⇒ Object
Returns the value of attribute find_options.
4 5 6 |
# File 'lib/authlogic/active_record/scoped_session.rb', line 4 def @find_options end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/authlogic/active_record/scoped_session.rb', line 4 def id @id end |
#klass ⇒ Object
Returns the value of attribute klass.
4 5 6 |
# File 'lib/authlogic/active_record/scoped_session.rb', line 4 def klass @klass end |