lib/sidekiq/encrypted_args/server_middleware.rb
def backward_compatible_encrypted_args(encrypted_args, worker_class, job)
        unless encrypted_args.is_a?(Array) && encrypted_args.all? { |position| position.is_a?(Integer) }
          encrypted_args = EncryptedArgs.encrypted_args_option(worker_class, job)
        end
        encrypted_args
      end
# Ensure that the encrypted args is an array of integers. If not re-read it from the class
# definition since gem version 1.0.2 and earlier did not update the encrypted_args on the job.
Ensure that the encrypted args is an array of integers. If not re-read it from the class
definition since gem version 1.0.2 and earlier did not update the encrypted_args on the job.
Ensure that the encrypted args is an array of integers . If not re - read it from the class definition since gem version 1 . 0 . 2 and earlier did not update the encrypted_args on the job .
def backward_compatible_encrypted_args(encrypted_args, worker_class, job)
        unless encrypted_args.is_a?(Array) && encrypted_args.all? { |position| position.is_a?(Integer) }
          encrypted_args = EncryptedArgs.encrypted_args_option(worker_class, job)
        end
        encrypted_args
      end
def backward_compatible_encrypted_args ( encrypted_args , worker_class , job ) unless encrypted_args . is_a? ( Array ) && encrypted_args . all? { | position | position . is_a? ( Integer ) } encrypted_args = EncryptedArgs . encrypted_args_option ( worker_class , job ) end encrypted_args end
Ensure that the encrypted args is an array of integers.
Ensure that the encrypted args is an array of integers .
encrypted_args
worker_class
job