Module: CheckerJobs
- Defined in:
- lib/checker_jobs.rb,
lib/checker_jobs/errors.rb,
lib/checker_jobs/version.rb
Defined Under Namespace
Modules: Base, Checks, DSL, JobsProcessors, Notifiers
Classes: Configuration, DuplicateCheckerName, Error, InvalidNotifierOptions, MissingNotifier, Unconfigured, UnsupportedConfigurationOption
Constant Summary
collapse
- VERSION =
"1.2.1".freeze
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
7
8
9
|
# File 'lib/checker_jobs.rb', line 7
def self.configuration
@configuration || raise(Unconfigured)
end
|
11
12
13
14
15
|
# File 'lib/checker_jobs.rb', line 11
def self.configure(&block)
@configuration = Configuration.default.tap do |config|
block&.call(config)
end
end
|