Flowdock
method

expiry_options

Importance_0
v6.1.7.7 - 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 512
        def expiry_options(options)
          if options[:expires].respond_to?(:from_now)
            { expires_in: options[:expires] }
          else
            { expires_at: options[:expires] }
          end
        end
Register or log in to add new notes.