Method: ActiveJob::Execution::ClassMethods#execute

Defined in:
activejob/lib/active_job/execution.rb

#execute(job_data) ⇒ Object

:nodoc:



26
27
28
29
30
31
# File 'activejob/lib/active_job/execution.rb', line 26

def execute(job_data) # :nodoc:
  ActiveJob::Callbacks.run_callbacks(:execute) do
    job = deserialize(job_data)
    job.perform_now
  end
end