instance method
on_rotation
Ruby on Rails 7.2.3
Since v7.1.6Signature
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