How can I get all worker class name in resque gem

My code is

meta = params[:worker_name].constantize.get_meta(params[:job_key])

When I scan code by brakeman I got issue

“Unsafe reflection method constantize called with parameter”

So I think I fix this by

@worker_name = params[:worker_name].classify
if %w(Class1 Class2 Class3).include? @worker_name
meta = @worker_name.constantize.get_meta(params[:job_key])
raise ‘Not found’

But I don’t know how to get. Class1 Class2 Class3, How can I get dynamic worker name