method

cookie_metadata

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: AbstractCookieJar
cookie_metadata(name, options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 516
        def cookie_metadata(name, options)
          expiry_options(options).tap do |metadata|
            metadata[:purpose] = "cookie.#{name}" if request.use_cookies_with_metadata
          end
        end
Register or log in to add new notes.