lib/sidekiq/encrypted_args/client_middleware.rb
# Encrypt specified arguments before they're sent off to the queue
Encrypt specified arguments before they're sent off to the queue
Encrypt specified arguments before they ' re sent off to the queue
def call(worker_class, job, queue, redis_pool = nil)
        if job.include?("encrypted_args")
          encrypted_args = EncryptedArgs.encrypted_args_option(worker_class, job)
          encrypt_job_arguments!(job, encrypted_args)
        end
        yield
      end
def call ( worker_class , job , queue , redis_pool = nil ) if job . include? ( "encrypted_args" ) encrypted_args = EncryptedArgs . encrypted_args_option ( worker_class , job ) encrypt_job_arguments! ( job , encrypted_args ) end yield end
Encrypt specified arguments before they're sent off to the queue
Encrypt specified arguments before they ' re sent off to the queue
worker_class
job
queue
redis_pool