Class: SidekiqUniqueJobs::OnConflict::Raise
- Inherits:
-
OnConflict::Strategy
- Object
- OnConflict::Strategy
- SidekiqUniqueJobs::OnConflict::Raise
- Defined in:
- lib/sidekiq_unique_jobs/on_conflict/raise.rb
Overview
Strategy to raise an error on conflict
Instance Method Summary collapse
-
#call ⇒ Object
Raise an error on conflict.
Instance Method Details
#call ⇒ Object
Raise an error on conflict. This will cause Sidekiq to retry the job
12 13 14 |
# File 'lib/sidekiq_unique_jobs/on_conflict/raise.rb', line 12 def call raise SidekiqUniqueJobs::Conflict, item end |