Module: GmanClient::Api::HealthCheck

Included in:
Gman::Client
Defined in:
lib/gman_client/api/health_check.rb

Overview

HealthCheck API

Instance Method Summary collapse

Instance Method Details

#health_checkObject

Retrieve a health check



8
9
10
11
12
# File 'lib/gman_client/api/health_check.rb', line 8

def health_check
  response = request.api.v1.health_check.get

  response.to_h[:health_check] == 'Passed'
end