class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash
Inherits From
-
class
Rack::
Session:: Abstract:: SessionHash
Public class methods
Source code GitHub
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 269
def initialize(req)
super(nil, req)
@data = {}
@loaded = true
end
Public instance methods
no-op
Source code GitHub
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 276
def destroy; end
Source code GitHub
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 282
def enabled?
false
end
Source code GitHub
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 278
def exists?
true
end