instance method on_rotation

Ruby on Rails 8.0.4

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

on_rotation(&callback)

Sets a callback to invoke when a message is verified using an option set other than the first.

For example, this callback could log each time it is called, and thus indicate whether old option sets are still in use or can be removed from rotation.

Source
# File activesupport/lib/active_support/message_verifiers.rb, line 121
    

Defined in activesupport/lib/active_support/message_verifiers.rb line 121 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::MessageVerifiers

Type at least 2 characters to search.

↑↓ navigate · open · esc close