Class: DSP::ReverseContinueResponse
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface ReverseContinueResponse 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) ⇒ ReverseContinueResponse
constructor
A new instance of ReverseContinueResponse.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ ReverseContinueResponse
Returns a new instance of ReverseContinueResponse.
2050 2051 2052 2053 |
# File 'lib/dsp/dsp_protocol.rb', line 2050 def initialize(initial_hash = nil) super @optional_method_names = %i[message body] end |
Instance Attribute Details
#body ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
2048 2049 2050 |
# File 'lib/dsp/dsp_protocol.rb', line 2048 def body @body end |
#command ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
2048 2049 2050 |
# File 'lib/dsp/dsp_protocol.rb', line 2048 def command @command end |
#message ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
2048 2049 2050 |
# File 'lib/dsp/dsp_protocol.rb', line 2048 def @message end |
#request_seq ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
2048 2049 2050 |
# File 'lib/dsp/dsp_protocol.rb', line 2048 def request_seq @request_seq end |
#seq ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
2048 2049 2050 |
# File 'lib/dsp/dsp_protocol.rb', line 2048 def seq @seq end |
#success ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
2048 2049 2050 |
# File 'lib/dsp/dsp_protocol.rb', line 2048 def success @success end |
#type ⇒ Object
type: number # type: boolean # type: string # type: string # type: any # type: number # type: string
2048 2049 2050 |
# File 'lib/dsp/dsp_protocol.rb', line 2048 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 |
# File 'lib/dsp/dsp_protocol.rb', line 2055 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 |