Class: Woods::Console::Adapters::GoodJobAdapter
- Inherits:
-
JobAdapter
- Object
- JobAdapter
- Woods::Console::Adapters::GoodJobAdapter
- Defined in:
- lib/woods/console/adapters/good_job_adapter.rb
Overview
Job backend adapter for GoodJob.
Builds bridge requests for GoodJob queue stats, failure listing, job lookup, scheduled jobs, and retry operations.
Class Method Summary collapse
-
.available? ⇒ Boolean
Check if GoodJob is available in the current environment.
Methods inherited from JobAdapter
#find_job, #queue_stats, #recent_failures, #retry_job, #scheduled_jobs
Class Method Details
.available? ⇒ Boolean
Check if GoodJob is available in the current environment.
21 22 23 |
# File 'lib/woods/console/adapters/good_job_adapter.rb', line 21 def self.available? !!defined?(::GoodJob) end |