Class: SidekiqRobustJob::EnqueueConflictResolutionStrategy::Base
- Inherits:
-
Object
- Object
- SidekiqRobustJob::EnqueueConflictResolutionStrategy::Base
- Defined in:
- lib/sidekiq_robust_job/enqueue_conflict_resolution_strategy/base.rb
Instance Method Summary collapse
- #execute(_job) ⇒ Object
-
#initialize(jobs_repository:, clock:) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(jobs_repository:, clock:) ⇒ Base
Returns a new instance of Base.
7 8 9 10 |
# File 'lib/sidekiq_robust_job/enqueue_conflict_resolution_strategy/base.rb', line 7 def initialize(jobs_repository:, clock:) @jobs_repository = jobs_repository @clock = clock end |
Instance Method Details
#execute(_job) ⇒ Object
12 13 14 |
# File 'lib/sidekiq_robust_job/enqueue_conflict_resolution_strategy/base.rb', line 12 def execute(_job) raise "implement me" end |