method

new

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Metadata
new(message, expires_at = nil, purpose = nil) public

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 8
      def initialize(message, expires_at = nil, purpose = nil)
        @message, @purpose = message, purpose
        @expires_at = expires_at.is_a?(String) ? parse_expires_at(expires_at) : expires_at
      end
Register or log in to add new notes.