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(env) ⇒ NullSessionHash
constructor
A new instance of NullSessionHash.
Constructor Details
#initialize(env) ⇒ NullSessionHash
Returns a new instance of NullSessionHash.
131 132 133 134 135 |
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 131 def initialize(env) super(nil, env) @data = {} @loaded = true end |
Instance Method Details
#destroy ⇒ Object
no-op
138 |
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 138 def destroy; end |
#exists? ⇒ Boolean
140 141 142 |
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 140 def exists? true end |