Class: ActionDispatch::Session::CookieStore::SessionId

Inherits:
Rack::Session::SessionId
  • Object
show all
Defined in:
lib/action_dispatch/middleware/session/cookie_store.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(session_id, cookie_value = {}) ⇒ SessionId

Returns a new instance of SessionId.



58
59
60
61
# File 'lib/action_dispatch/middleware/session/cookie_store.rb', line 58

def initialize(session_id, cookie_value = {})
  super(session_id)
  @cookie_value = cookie_value
end

Instance Attribute Details

Returns the value of attribute cookie_value.



56
57
58
# File 'lib/action_dispatch/middleware/session/cookie_store.rb', line 56

def cookie_value
  @cookie_value
end