Module: Wurk::Job::Options

Defined in:
lib/wurk/job/options.rb

Overview

Options-only slice of the Wurk::Worker DSL. Mixed into ‘ActiveJob::Base` by the wurk adapter so native AJ classes can configure Wurk/Sidekiq features (`sidekiq_options retry: 3`, `sidekiq_retry_in { … }`, …) without including the full `perform_async`/`set` surface that doesn’t apply to AJ.

Aliased as ‘Sidekiq::Job::Options`. Wire-compat sacred — third-party gems that extend AJ via this module load unchanged.

Spec: docs/target/sidekiq-free.md §6 (Sidekiq::Job::Options).

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



16
17
18
# File 'lib/wurk/job/options.rb', line 16

def self.included(base)
  base.extend(ClassMethods)
end