Module: Workerholic::Job::ClassMethods
- Defined in:
- lib/workerholic/job.rb
Instance Method Summary collapse
Instance Method Details
#job_options(params = {}) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/workerholic/job.rb', line 9 def (params={}) define_method(:specified_job_options) do { execute_at: params[:execute_at], queue_name: 'workerholic:queue:' + (params[:queue_name] || 'main') } end end |