Module: ActiveSupport::Messages::Rotator
Overview
Defined Under Namespace
Modules: Encryptor, Verifier
Instance Method Summary
collapse
Instance Method Details
#initialize(**options) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/active_support/messages/rotator.rb', line 6
def initialize(*, **options)
super
@options = options
@rotations = []
end
|
#rotate(*secrets, **options) ⇒ Object
13
14
15
|
# File 'lib/active_support/messages/rotator.rb', line 13
def rotate(*secrets, **options)
@rotations << build_rotation(*secrets, @options.merge(options))
end
|