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.



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

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

Instance Attribute Details

Returns the value of attribute cookie_value.



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

def cookie_value
  @cookie_value
end