Class: HermesAgent::Client::Entities::RunStop
- Inherits:
-
HermesAgent::Client::Entity
- Object
- HermesAgent::Client::Entity
- HermesAgent::Client::Entities::RunStop
- Defined in:
- lib/hermes_agent/client/entities/run.rb
Overview
The acknowledgement returned by stopping a run
(Resources::Runs#stop): {run_id, status: "stopping"}. Stop is
cooperative — this ack only confirms the stop was accepted; the run
then resolves to a terminal "cancelled" status, observable by polling
Resources::Runs#get. It is deliberately not a full Run (it carries
no output, usage, or timestamps).
Instance Method Summary collapse
-
#run_id ⇒ String?
The id of the run being stopped (
"run_…"). -
#status ⇒ String?
The status acknowledged by the stop,
"stopping".
Methods inherited from HermesAgent::Client::Entity
Instance Method Details
#run_id ⇒ String?
The id of the run being stopped ("run_…").
169 170 171 |
# File 'lib/hermes_agent/client/entities/run.rb', line 169 def run_id self["run_id"] end |
#status ⇒ String?
The status acknowledged by the stop, "stopping".
177 178 179 |
# File 'lib/hermes_agent/client/entities/run.rb', line 177 def status self["status"] end |