Class: Legion::Extensions::Extinction::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Extinction::Client
- Includes:
- Runners::Extinction
- Defined in:
- lib/legion/extensions/extinction/client.rb
Instance Method Summary collapse
- #archive_agent ⇒ Object
- #deescalate ⇒ Object
-
#escalate ⇒ Object
Override runner methods so that per-instance @opts (e.g. timeout:) are threaded through as defaults on every call.
- #extinction_status ⇒ Object
- #full_termination ⇒ Object
-
#initialize(**opts) ⇒ Client
constructor
A new instance of Client.
- #monitor_protocol ⇒ Object
- #settings ⇒ Object
Methods included from Runners::Extinction
Constructor Details
#initialize(**opts) ⇒ Client
Returns a new instance of Client.
15 16 17 |
# File 'lib/legion/extensions/extinction/client.rb', line 15 def initialize(**opts) @opts = opts end |
Instance Method Details
#archive_agent ⇒ Object
41 42 43 |
# File 'lib/legion/extensions/extinction/client.rb', line 41 def archive_agent(**) super(**@opts, **) end |
#deescalate ⇒ Object
29 30 31 |
# File 'lib/legion/extensions/extinction/client.rb', line 29 def deescalate(**) super(**@opts, **) end |
#escalate ⇒ Object
Override runner methods so that per-instance @opts (e.g. timeout:) are threaded through as defaults on every call.
25 26 27 |
# File 'lib/legion/extensions/extinction/client.rb', line 25 def escalate(**) super(**@opts, **) end |
#extinction_status ⇒ Object
33 34 35 |
# File 'lib/legion/extensions/extinction/client.rb', line 33 def extinction_status(**) super(**@opts, **) end |
#full_termination ⇒ Object
45 46 47 |
# File 'lib/legion/extensions/extinction/client.rb', line 45 def full_termination(**) super(**@opts, **) end |
#monitor_protocol ⇒ Object
37 38 39 |
# File 'lib/legion/extensions/extinction/client.rb', line 37 def monitor_protocol(**) super(**@opts, **) end |
#settings ⇒ Object
19 20 21 |
# File 'lib/legion/extensions/extinction/client.rb', line 19 def settings { options: @opts } end |