# File lib/dynflow/active_job/queue_adapter.rb, line 45 def label input[:job_class] end
# File lib/dynflow/active_job/queue_adapter.rb, line 34 def plan(attributes) input[:job_class] = attributes['job_class'] input[:job_arguments] = attributes['arguments'] input[:queue] = attributes['queue_name'] plan_self end
# File lib/dynflow/active_job/queue_adapter.rb, line 30 def queue input[:queue].to_sym end
# File lib/dynflow/active_job/queue_adapter.rb, line 41 def run input[:job_class].constantize.perform_now(*input[:job_arguments]) end