Module: SidekiqRemappableErrors
- Defined in:
- lib/sidekiq_remappable_errors.rb,
lib/sidekiq_remappable_errors/config.rb,
lib/sidekiq_remappable_errors/errors.rb,
lib/sidekiq_remappable_errors/version.rb,
lib/sidekiq_remappable_errors/error_matcher.rb,
lib/sidekiq_remappable_errors/sidekiq_middleware.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Classes: Config, ErrorMatcher, InvalidConfigError, InvalidErrorMatcherError, RemappedError, SidekiqMiddleware
Constant Summary
collapse
- VERSION =
"1.0.1"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
17
18
19
|
# File 'lib/sidekiq_remappable_errors.rb', line 17
def config
@_config ||= Config.new
end
|
21
22
23
24
25
|
# File 'lib/sidekiq_remappable_errors.rb', line 21
def configure
yield(config)
config.validate!
end
|
.included(klass) ⇒ Object
10
11
12
13
14
|
# File 'lib/sidekiq_remappable_errors.rb', line 10
def self.included(klass)
klass.extend(ClassMethods)
klass.include(InstanceMethods)
klass.initialize_remappable_errors
end
|