Sha256: 38ce794a1ed158eaf0e982d910eb41716ea9cadd8cc1bd03a6e4bd016ad2a63e

Contents?: true

Size: 260 Bytes

Versions: 4

Compression:

Stored size: 260 Bytes

Contents

module GmanClient
  module Api
    # HealthCheck API
    module HealthCheck
      # Retrieve a health check
      def health_check
        response = request.api.v1.health_check.get

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gman_client-0.3.1 lib/gman_client/api/health_check.rb
gman_client-0.3.0 lib/gman_client/api/health_check.rb
gman_client-0.2.1 lib/gman_client/api/health_check.rb
gman_client-0.2.0 lib/gman_client/api/health_check.rb