Skip to Content Skip to Search

class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash

Inherits From

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

Definition files