Class: AhoSdk::System::HealthResource Private
- Inherits:
-
Object
- Object
- AhoSdk::System::HealthResource
- 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
-
#get ⇒ Hash
private
Health check.
-
#initialize(client) ⇒ HealthResource
constructor
private
A new instance of HealthResource.
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
#get ⇒ Hash
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
41 42 43 |
# File 'lib/aho_sdk/system.rb', line 41 def get @client.get("/v1/health") end |