class Io::Flow::V0::Clients::Healthchecks

Public Class Methods

new(client) click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 7121
def initialize(client)
  @client = HttpClient::Preconditions.assert_class('client', client, ::Io::Flow::V0::Client)
end

Public Instance Methods

get_healthcheck() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 7125
def get_healthcheck
  r = @client.request("/_internal_/healthcheck").get
  ::Io::Flow::V0::Models::Healthcheck.new(r)
end