Class: HermesAgent::Client::Entities::PlatformStatus
- Inherits:
-
HermesAgent::Client::Entity
- Object
- HermesAgent::Client::Entity
- HermesAgent::Client::Entities::PlatformStatus
- Defined in:
- lib/hermes_agent/client/entities/health.rb
Overview
The connection status of a single platform within a detailed health check (one entry of HealthDetails#platforms).
Instance Method Summary collapse
-
#error_code ⇒ String?
A machine-readable error code, or
nilwhen there is no error. -
#error_message ⇒ String?
A human-readable error message, or
nilwhen there is no error. -
#state ⇒ String?
The connection state, e.g.
-
#updated_at ⇒ String?
When this platform status was last updated (ISO-8601 timestamp string).
Methods inherited from HermesAgent::Client::Entity
Instance Method Details
#error_code ⇒ String?
A machine-readable error code, or nil when there is no error.
42 43 44 |
# File 'lib/hermes_agent/client/entities/health.rb', line 42 def error_code self["error_code"] end |
#error_message ⇒ String?
A human-readable error message, or nil when there is no error.
50 51 52 |
# File 'lib/hermes_agent/client/entities/health.rb', line 50 def self["error_message"] end |
#state ⇒ String?
The connection state, e.g. "connected".
34 35 36 |
# File 'lib/hermes_agent/client/entities/health.rb', line 34 def state self["state"] end |
#updated_at ⇒ String?
When this platform status was last updated (ISO-8601 timestamp string).
59 60 61 |
# File 'lib/hermes_agent/client/entities/health.rb', line 59 def updated_at self["updated_at"] end |