Module: SidekiqUniqueJobs::Scripts::Overrides::Testing

Defined in:
lib/sidekiq_unique_jobs/testing.rb

Instance Method Summary collapse

Instance Method Details

#call_ext(file_name, redis_pool, options = {}) ⇒ Object


29
30
31
32
33
34
35
# File 'lib/sidekiq_unique_jobs/testing.rb', line 29

def call_ext(file_name, redis_pool, options = {})
  if SidekiqUniqueJobs.mocked?
    SidekiqUniqueJobs::ScriptMock.call(file_name, redis_pool, options)
  else
    call_orig(file_name, redis_pool, options)
  end
end