Class: DSP::TerminateArguments
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface TerminateArguments {
/** A value of true indicates that this 'terminate' request is part of a restart sequence. */
restart?: boolean;
}
Instance Attribute Summary collapse
-
#restart ⇒ Object
type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ TerminateArguments
constructor
A new instance of TerminateArguments.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ TerminateArguments
Returns a new instance of TerminateArguments.
1263 1264 1265 1266 |
# File 'lib/dsp/dsp_protocol.rb', line 1263 def initialize(initial_hash = nil) super @optional_method_names = %i[restart] end |
Instance Attribute Details
#restart ⇒ Object
type: boolean
1261 1262 1263 |
# File 'lib/dsp/dsp_protocol.rb', line 1261 def restart @restart end |
Instance Method Details
#from_h!(value) ⇒ Object
1268 1269 1270 1271 1272 |
# File 'lib/dsp/dsp_protocol.rb', line 1268 def from_h!(value) value = {} if value.nil? self.restart = value['restart'] # Unknown type self end |