method

parse_expiry

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Metadata
parse_expiry(expires_at) private

No documentation

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

Hide source
# File activesupport/lib/active_support/messages/metadata.rb, line 114
        def parse_expiry(expires_at)
          if !expires_at.is_a?(String)
            expires_at
          elsif ActiveSupport.use_standard_json_time_format
            Time.iso8601(expires_at)
          else
            Time.parse(expires_at)
          end
        end
Register or log in to add new notes.