Class: DSP::SetVariableRequest
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface SetVariableRequest extends Request {
arguments: SetVariableArguments;
}
Instance Attribute Summary collapse
-
#arguments ⇒ Object
type: SetVariableArguments # type: string # type: number # type: string.
-
#command ⇒ Object
type: SetVariableArguments # type: string # type: number # type: string.
-
#seq ⇒ Object
type: SetVariableArguments # type: string # type: number # type: string.
-
#type ⇒ Object
type: SetVariableArguments # type: string # type: number # type: string.
Instance Method Summary collapse
Methods inherited from DSPBase
Constructor Details
This class inherits a constructor from DSP::DSPBase
Instance Attribute Details
#arguments ⇒ Object
type: SetVariableArguments # type: string # type: number # type: string
2460 2461 2462 |
# File 'lib/dsp/dsp_protocol.rb', line 2460 def arguments @arguments end |
#command ⇒ Object
type: SetVariableArguments # type: string # type: number # type: string
2460 2461 2462 |
# File 'lib/dsp/dsp_protocol.rb', line 2460 def command @command end |
#seq ⇒ Object
type: SetVariableArguments # type: string # type: number # type: string
2460 2461 2462 |
# File 'lib/dsp/dsp_protocol.rb', line 2460 def seq @seq end |
#type ⇒ Object
type: SetVariableArguments # type: string # type: number # type: string
2460 2461 2462 |
# File 'lib/dsp/dsp_protocol.rb', line 2460 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
2462 2463 2464 2465 2466 2467 2468 2469 |
# File 'lib/dsp/dsp_protocol.rb', line 2462 def from_h!(value) value = {} if value.nil? self.arguments = SetVariableArguments.new(value['arguments']) unless value['arguments'].nil? self.command = value['command'] self.seq = value['seq'] self.type = value['type'] self end |