Class: RocketJob::Jobs::ActiveJob
- Inherits:
-
RocketJob::Job
- Object
- RocketJob::Job
- RocketJob::Jobs::ActiveJob
- Defined in:
- lib/rocket_job/jobs/active_job.rb
Overview
Used to wrap an Active Job
Instance Method Summary collapse
Methods included from Plugins::Job::Throttle
#throttle_filter_class, #throttle_filter_id
Methods included from Plugins::Job::Worker
#perform_now, #rocket_job_active_workers, #rocket_job_fail_on_exception!, #rocket_job_work
Methods included from Plugins::Job::Persistence
Methods included from Plugins::Job::Model
#as_json, #collect_nil_output?, #collect_output?, #duration, #expired?, #scheduled?, #seconds, #status, #worker_on_server?
Instance Method Details
#perform ⇒ Object
10 11 12 |
# File 'lib/rocket_job/jobs/active_job.rb', line 10 def perform ::ActiveJob::Base.execute data end |