Module: WatCatcher
- Defined in:
- lib/wat_catcher.rb,
lib/wat_catcher/engine.rb,
lib/wat_catcher/poster.rb,
lib/wat_catcher/report.rb,
lib/wat_catcher/metrics.rb,
lib/wat_catcher/railtie.rb,
lib/wat_catcher/version.rb,
lib/wat_catcher/wattle_helper.rb,
lib/wat_catcher/rack_middleware.rb,
lib/wat_catcher/sidekiq_middleware.rb,
app/controllers/wat_catcher/catcher_of_wats.rb,
app/controllers/wat_catcher/wats_controller.rb,
app/controllers/wat_catcher/bugsnag_controller.rb
Defined Under Namespace
Modules: CatcherOfWats, Helper
Classes: BugsnagController, Configuration, Engine, Metrics, Poster, RackMiddleware, Railtie, Report, Request, SidekiqMiddleware, WatsController
Constant Summary
collapse
- VERSION =
"0.10.11"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
34
35
36
|
# File 'lib/wat_catcher.rb', line 34
def configuration
@configuration ||= Configuration.new
end
|
26
27
28
29
30
31
32
|
# File 'lib/wat_catcher.rb', line 26
def configure(config_hash=nil)
config_hash.each do |k, v|
configuration.send("#{k}=", v)
end if config_hash
yield(configuration) if block_given?
end
|