Module: Sidekiq::Job::UniqueExtension
- Included in:
- Sidekiq::Job
- Defined in:
- lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
52 53 54 55 56 57 |
# File 'lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb', line 52 def self.included(base) base.class_eval do alias_method :delete_orig, :delete alias_method :delete, :delete_ext end end |
Instance Method Details
#delete_ext ⇒ Object
59 60 61 62 |
# File 'lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb', line 59 def delete_ext delete_orig SidekiqUniqueJobs::Unlockable.unlock(item) end |