Class: DeepHealthCheck::HTTPDependencyHealthCheck
- Inherits:
-
DependencyHealthCheck
- Object
- HealthCheck
- DependencyHealthCheck
- DeepHealthCheck::HTTPDependencyHealthCheck
- Defined in:
- lib/deep_health_check/http_dependency_health_check.rb
Constant Summary collapse
- CONTENT_TYPE =
'Content-Type'
- JSON_MIME_TYPE =
'application/json'
Instance Method Summary collapse
-
#initialize ⇒ HTTPDependencyHealthCheck
constructor
A new instance of HTTPDependencyHealthCheck.
Methods inherited from DependencyHealthCheck
Methods inherited from HealthCheck
Constructor Details
#initialize ⇒ HTTPDependencyHealthCheck
Returns a new instance of HTTPDependencyHealthCheck.
10 11 12 13 |
# File 'lib/deep_health_check/http_dependency_health_check.rb', line 10 def initialize @type = 'http' @dependencies = process_dependencies fetch_dependencies_from_env end |