Class: Authlogic::ActiveRecord::ScopedSession

Inherits:
Object
  • Object
show all
Defined in:
lib/authlogic/active_record/scoped_session.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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, find_options, id)
  self.klass = klass
  self.find_options = find_options
  self.id = id
end

Instance Attribute Details

#find_optionsObject

Returns the value of attribute find_options.



4
5
6
# File 'lib/authlogic/active_record/scoped_session.rb', line 4

def find_options
  @find_options
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/authlogic/active_record/scoped_session.rb', line 4

def id
  @id
end

#klassObject

Returns the value of attribute klass.



4
5
6
# File 'lib/authlogic/active_record/scoped_session.rb', line 4

def klass
  @klass
end