Class: ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash
- Inherits:
-
Rack::Session::Abstract::SessionHash
- Object
- Rack::Session::Abstract::SessionHash
- ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash
- Defined in:
- lib/action_controller/metal/request_forgery_protection.rb
Overview
:nodoc:
Instance Method Summary collapse
- #exists? ⇒ Boolean
-
#initialize(env) ⇒ NullSessionHash
constructor
A new instance of NullSessionHash.
Constructor Details
#initialize(env) ⇒ NullSessionHash
Returns a new instance of NullSessionHash.
121 122 123 124 125 |
# File 'lib/action_controller/metal/request_forgery_protection.rb', line 121 def initialize(env) super(nil, env) @data = {} @loaded = true end |
Instance Method Details
#exists? ⇒ Boolean
127 128 129 |
# File 'lib/action_controller/metal/request_forgery_protection.rb', line 127 def exists? true end |