Class: Sidekiq::ActiveJob::Wrapper Private

Inherits:
Object
  • Object
show all
Includes:
Job
Defined in:
lib/active_job/queue_adapters/sidekiq_adapter.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes included from Job

#_context, #jid

Instance Method Summary collapse

Methods included from Job

clear_all, drain_all, included, #interrupted?, jobs, #logger

Instance Method Details

#perform(job_data) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



9
10
11
# File 'lib/active_job/queue_adapters/sidekiq_adapter.rb', line 9

def perform(job_data)
  ::ActiveJob::Base.execute(job_data.merge("provider_job_id" => jid))
end