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.


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

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

Instance Attribute Details

Returns the value of attribute cookie_value.


51
52
53
# File 'actionpack/lib/action_dispatch/middleware/session/cookie_store.rb', line 51

def cookie_value
  @cookie_value
end