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

Inherits:
Rack::Session::SessionId
  • Object
show all
Defined in:
actionpack/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.



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

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

Instance Attribute Details

Returns the value of attribute cookie_value.



54
55
56
# File 'actionpack/lib/action_dispatch/middleware/session/cookie_store.rb', line 54

def cookie_value
  @cookie_value
end