Class: ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash
- Inherits:
-
Rack::Session::Abstract::SessionHash
- Object
- Rack::Session::Abstract::SessionHash
- ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash
- Defined in:
- actionpack/lib/action_controller/metal/request_forgery_protection.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#destroy ⇒ Object
no-op.
- #exists? ⇒ Boolean
-
#initialize(req) ⇒ NullSessionHash
constructor
A new instance of NullSessionHash.
Constructor Details
#initialize(req) ⇒ NullSessionHash
Returns a new instance of NullSessionHash.
178 179 180 181 182 |
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 178 def initialize(req) super(nil, req) @data = {} @loaded = true end |
Instance Method Details
#destroy ⇒ Object
no-op
185 |
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 185 def destroy; end |
#exists? ⇒ Boolean
187 188 189 |
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 187 def exists? true end |