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
92 93 94 95 96 97 98 |
# File 'lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb', line 92 def self.included(base) base.class_eval do include UnlockMethod alias_method :delete_orig, :delete alias_method :delete, :delete_ext end end |
Instance Method Details
#delete_ext ⇒ Object
100 101 102 103 |
# File 'lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb', line 100 def delete_ext unlock(item) delete_orig end |