Module: ActiveSupport::Messages::Rotator::Encryptor
- Includes:
- ActiveSupport::Messages::Rotator
- Included in:
- ActiveSupport::MessageEncryptor
- Defined in:
- lib/active_support/messages/rotator.rb
Instance Method Summary collapse
Methods included from ActiveSupport::Messages::Rotator
Instance Method Details
#decrypt_and_verify(*args, on_rotation: nil, **options) ⇒ Object
20 21 22 23 24 |
# File 'lib/active_support/messages/rotator.rb', line 20 def decrypt_and_verify(*args, on_rotation: nil, **) super rescue MessageEncryptor::InvalidMessage, MessageVerifier::InvalidSignature run_rotations(on_rotation) { |encryptor| encryptor.decrypt_and_verify(*args, **) } || raise end |