Class: DeepHealthCheck::HTTPDependencyHealthCheck

Inherits:
DependencyHealthCheck show all
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

Methods inherited from DependencyHealthCheck

#call

Methods inherited from HealthCheck

#call

Constructor Details

#initializeHTTPDependencyHealthCheck

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