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

Inherits:
SessionId show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/session/cookie.rb', line 156

def cookie_value
  @cookie_value
end