Class: DSP::ScopesResponse
Overview
interface ScopesResponse extends Response {
body: {
/** The scopes of the stackframe. If the array has length zero, there are no scopes available. */
scopes: Scope[];
};
}
Instance Attribute Summary collapse
-
#body ⇒ Object
type: {.
-
#command ⇒ Object
type: {.
-
#message ⇒ Object
type: {.
-
#request_seq ⇒ Object
/** The scopes of the stackframe.
-
#seq ⇒ Object
type: {.
-
#success ⇒ Object
type: {.
-
#type ⇒ Object
type: {.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ ScopesResponse
constructor
A new instance of ScopesResponse.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ ScopesResponse
Returns a new instance of ScopesResponse.
2358 2359 2360 2361 |
# File 'lib/dsp/dsp_protocol.rb', line 2358 def initialize(initial_hash = nil) super @optional_method_names = %i[message] end |
Instance Attribute Details
#body ⇒ Object
type: {
2352 2353 2354 |
# File 'lib/dsp/dsp_protocol.rb', line 2352 def body @body end |
#command ⇒ Object
type: {
2352 2353 2354 |
# File 'lib/dsp/dsp_protocol.rb', line 2352 def command @command end |
#message ⇒ Object
type: {
2352 2353 2354 |
# File 'lib/dsp/dsp_protocol.rb', line 2352 def @message end |
#request_seq ⇒ Object
/** The scopes of the stackframe. If the array has length zero, there are no scopes available. */
scopes: Scope[];
}
2356 2357 2358 |
# File 'lib/dsp/dsp_protocol.rb', line 2356 def request_seq @request_seq end |
#seq ⇒ Object
type: {
2352 2353 2354 |
# File 'lib/dsp/dsp_protocol.rb', line 2352 def seq @seq end |
#success ⇒ Object
type: {
2352 2353 2354 |
# File 'lib/dsp/dsp_protocol.rb', line 2352 def success @success end |
#type ⇒ Object
type: {
2352 2353 2354 |
# File 'lib/dsp/dsp_protocol.rb', line 2352 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 |
# File 'lib/dsp/dsp_protocol.rb', line 2363 def from_h!(value) value = {} if value.nil? self.body = value['body'] # Unknown type self.request_seq = value['request_seq'] self.success = value['success'] # Unknown type self.command = value['command'] self. = value['message'] self.seq = value['seq'] self.type = value['type'] self end |