Class: Sidekiq::Encryptor::Client
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
79 80 81 82 83 |
# File 'lib/sidekiq/encryptor.rb', line 79 def call(worker, msg, queue) return yield unless enabled? msg['args'] = payload(msg['args']) yield end |