Class: Rack::Session::Cookie::SessionId

Inherits:
SessionId
  • Object
show all
Defined in:
lib/rack/session/cookie.rb

Constant Summary

Constants inherited from SessionId

SessionId::ID_VERSION

Instance Attribute Summary collapse

Attributes inherited from SessionId

#public_id

Instance Method Summary collapse

Methods inherited from SessionId

#empty?, #inspect, #private_id

Constructor Details

#initialize(session_id, cookie_value) ⇒ SessionId

Returns a new instance of SessionId.



259
260
261
262
# File 'lib/rack/session/cookie.rb', line 259

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

Instance Attribute Details

Returns the value of attribute cookie_value.



257
258
259
# File 'lib/rack/session/cookie.rb', line 257

def cookie_value
  @cookie_value
end