Flowdock
method

expiry_options

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: AbstractCookieJar
expiry_options(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 492
        def expiry_options(options)
          if request.use_authenticated_cookie_encryption
            if options[:expires].respond_to?(:from_now)
              { expires_in: options[:expires] }
            else
              { expires_at: options[:expires] }
            end
          else
            {}
          end
        end
Register or log in to add new notes.