instance method is_storage_strategy?

Ruby on Rails 7.2.3

Since v7.1.6 Private

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

is_storage_strategy?(object)

No documentation comment.

Parameters

object req
Source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 248
        def is_storage_strategy?(object)
          object.respond_to?(:fetch) && object.respond_to?(:store) && object.respond_to?(:reset)
        end

Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 248 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::RequestForgeryProtection::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close