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.



158
159
160
161
# File 'lib/rack/session/cookie.rb', line 158

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

Instance Attribute Details

Returns the value of attribute cookie_value.



156
157
158
# File 'lib/rack/session/cookie.rb', line 156

def cookie_value
  @cookie_value
end