Module: SidekiqUniqueJobs::Script

Includes:
DSL
Defined in:
lib/sidekiq_unique_jobs/script.rb,
lib/sidekiq_unique_jobs/script/dsl.rb,
lib/sidekiq_unique_jobs/script/caller.rb,
lib/sidekiq_unique_jobs/script/client.rb,
lib/sidekiq_unique_jobs/script/config.rb,
lib/sidekiq_unique_jobs/script/script.rb,
lib/sidekiq_unique_jobs/script/timing.rb,
lib/sidekiq_unique_jobs/script/logging.rb,
lib/sidekiq_unique_jobs/script/scripts.rb,
lib/sidekiq_unique_jobs/script/template.rb,
lib/sidekiq_unique_jobs/script/lua_error.rb

Overview

Interface to dealing with .lua files

Author:

Defined Under Namespace

Modules: Caller, DSL, Logging, Timing Classes: Client, Config, LuaError, Misconfiguration, Script, Scripts, Template

Constant Summary

Constants included from DSL

DSL::MUTEX

Class Method Summary collapse

Methods included from DSL

included

Class Method Details

.loggerLogger

The current logger

Returns:

  • (Logger)

    the configured logger



31
32
33
# File 'lib/sidekiq_unique_jobs/script.rb', line 31

def self.logger
  config.logger
end

.logger=(other) ⇒ Logger

Set a new logger

Parameters:

  • other (Logger)

    another logger

Returns:

  • (Logger)

    the new logger



42
43
44
# File 'lib/sidekiq_unique_jobs/script.rb', line 42

def self.logger=(other)
  config.logger = other
end