Class: AhoSdk::System::HealthResource Private

Inherits:
Object
  • Object
show all
Defined in:
lib/aho_sdk/system.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Health resource operations

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ HealthResource

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of HealthResource.



34
35
36
# File 'lib/aho_sdk/system.rb', line 34

def initialize(client)
  @client = client
end

Instance Method Details

#getHash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Health check

Returns:

  • (Hash)


41
42
43
# File 'lib/aho_sdk/system.rb', line 41

def get
  @client.get("/v1/health")
end