class method
self.new
Ruby on Rails 7.2.3
Since v6.1.7.10Signature
self.new(value, on_rotation: nil)
No documentation comment.
Parameters
-
valuereq -
on_rotationkey = nil
Source
# File activesupport/lib/active_support/secure_compare_rotator.rb, line 37
def initialize(value, on_rotation: nil)
@value = value
@rotate_values = []
@on_rotation = on_rotation
end
Defined in activesupport/lib/active_support/secure_compare_rotator.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SecureCompareRotator