Module: HealthyRack
- Defined in:
- lib/healthy_rack.rb,
lib/healthy_rack/app.rb,
lib/healthy_rack/check.rb,
lib/healthy_rack/utils.rb,
lib/healthy_rack/errors.rb,
lib/healthy_rack/version.rb,
lib/healthy_rack/middleware.rb,
lib/healthy_rack/checks/redis.rb,
lib/healthy_rack/checks/sequel.rb,
lib/healthy_rack/configuration.rb,
lib/healthy_rack/checks/sidekiq.rb,
lib/healthy_rack/checks/active_record.rb,
lib/healthy_rack/verify_class_definition.rb
Defined Under Namespace
Modules: Checks, Utils
Classes: App, Check, Configuration, Errors, Middleware, VerifyClassDefinition
Constant Summary
collapse
- VERSION =
'0.1.1'.freeze
Class Method Summary
collapse
Class Method Details
.app ⇒ Object
17
18
19
|
# File 'lib/healthy_rack.rb', line 17
def app
App
end
|
.config ⇒ Object
21
22
23
|
# File 'lib/healthy_rack.rb', line 21
def config
@config ||= Configuration.new
end
|
29
30
31
|
# File 'lib/healthy_rack.rb', line 29
def configure
yield(config)
end
|
.middleware ⇒ Object
13
14
15
|
# File 'lib/healthy_rack.rb', line 13
def middleware
Middleware
end
|
.reset_config ⇒ Object
25
26
27
|
# File 'lib/healthy_rack.rb', line 25
def reset_config
config.reset
end
|