Class: Ace::Hitl::CLI::Commands::OverseerAck

Inherits:
Support::Cli::Command
  • Object
show all
Includes:
LifecycleCommand, Support::Cli::Base
Defined in:
lib/ace/hitl/cli/commands/overseer_ack.rb

Overview

Host-broker acknowledgement of one relayed Overseer response.

Constant Summary

Constants included from LifecycleCommand

LifecycleCommand::STDIN_READER

Instance Method Summary collapse

Methods included from LifecycleCommand

#emit, #lifecycle_store, #overseer, #raise_lifecycle_error

Instance Method Details

#call(id:, **options) ⇒ Object



21
22
23
24
25
# File 'lib/ace/hitl/cli/commands/overseer_ack.rb', line 21

def call(id:, **options)
  emit(overseer.ack(id))
rescue Lifecycle::Error => e
  raise_lifecycle_error(e.message)
end