Module: SidekiqUniqueJobs::Scripts::Overrides

Included in:
SidekiqUniqueJobs::Scripts
Defined in:
lib/sidekiq_unique_jobs/testing.rb

Defined Under Namespace

Modules: Testing

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


18
19
20
21
22
23
24
25
26
# File 'lib/sidekiq_unique_jobs/testing.rb', line 18

def self.included(base)
  base.extend Testing
  base.class_eval do
    class << self
      alias_method :call_orig, :call
      alias_method :call, :call_ext
    end
  end
end