Class: DSP::StepOutResponse
Overview
interface StepOutResponse extends Response
Instance Attribute Summary collapse
-
#body ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string.
-
#command ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string.
-
#message ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string.
-
#request_seq ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string.
-
#seq ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string.
-
#success ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string.
-
#type ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ StepOutResponse
constructor
A new instance of StepOutResponse.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ StepOutResponse
Returns a new instance of StepOutResponse.
1944 1945 1946 1947 |
# File 'lib/dsp/dsp_protocol.rb', line 1944 def initialize(initial_hash = nil) super @optional_method_names = i[ body] end |
Instance Attribute Details
#body ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
1942 1943 1944 |
# File 'lib/dsp/dsp_protocol.rb', line 1942 def body @body end |
#command ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
1942 1943 1944 |
# File 'lib/dsp/dsp_protocol.rb', line 1942 def command @command end |
#message ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
1942 1943 1944 |
# File 'lib/dsp/dsp_protocol.rb', line 1942 def end |
#request_seq ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
1942 1943 1944 |
# File 'lib/dsp/dsp_protocol.rb', line 1942 def request_seq @request_seq end |
#seq ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
1942 1943 1944 |
# File 'lib/dsp/dsp_protocol.rb', line 1942 def seq @seq end |
#success ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
1942 1943 1944 |
# File 'lib/dsp/dsp_protocol.rb', line 1942 def success @success end |
#type ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
1942 1943 1944 |
# File 'lib/dsp/dsp_protocol.rb', line 1942 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 |
# File 'lib/dsp/dsp_protocol.rb', line 1949 def from_h!(value) value = {} if value.nil? self.request_seq = value['request_seq'] self.success = value['success'] # Unknown type self.command = value['command'] self. = value['message'] self.body = value['body'] self.seq = value['seq'] self.type = value['type'] self end |