Methods

Class Public methods

new(req)

📝 Source code
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 278
def initialize(req)
  super(nil, req)
  @data = {}
  @loaded = true
end
🔎 See on GitHub

Instance Public methods

destroy()

no-op

📝 Source code
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 285
def destroy; end
🔎 See on GitHub

enabled?()

📝 Source code
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 291
def enabled?
  false
end
🔎 See on GitHub

exists?()

📝 Source code
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 287
def exists?
  true
end
🔎 See on GitHub

Definition files