Class: OpenObserve::Api::Healthz
- Inherits:
-
Object
- Object
- OpenObserve::Api::Healthz
- Defined in:
- lib/openobserve-api/api/healthz.rb
Instance Method Summary collapse
-
#initialize(connection) ⇒ Healthz
constructor
A new instance of Healthz.
- #list ⇒ Object
Constructor Details
#initialize(connection) ⇒ Healthz
Returns a new instance of Healthz.
5 6 7 |
# File 'lib/openobserve-api/api/healthz.rb', line 5 def initialize(connection) @connection = connection end |
Instance Method Details
#list ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/openobserve-api/api/healthz.rb', line 9 def list @connection.call( :GET, '/healthz', type: OpenObserve::Api::Models::HealthCheck200Response, auth: [] ) end |