Class: Sidekiq::Encryptor::Server
Instance Method Summary collapse
Methods inherited from Base
#enabled?, #initialize, #inspect
Constructor Details
This class inherits a constructor from Sidekiq::Encryptor::Base
Instance Method Details
#call(worker, msg, queue) ⇒ Object
102 103 104 105 106 |
# File 'lib/sidekiq/encryptor.rb', line 102 def call(worker, msg, queue) return yield unless enabled? msg['args'] = validate_and_decrypt(msg['args']) yield end |