Class: DSP::StackTraceRequest

Inherits:
DSPBase
  • Object
show all
Defined in:
lib/dsp/dsp_protocol.rb

Overview

interface StackTraceRequest extends Request {

    arguments: StackTraceArguments;
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from DSP::DSPBase

Instance Attribute Details

#argumentsObject

type: StackTraceArguments # type: string # type: number # type: string



2234
2235
2236
# File 'lib/dsp/dsp_protocol.rb', line 2234

def arguments
  @arguments
end

#commandObject

type: StackTraceArguments # type: string # type: number # type: string



2234
2235
2236
# File 'lib/dsp/dsp_protocol.rb', line 2234

def command
  @command
end

#seqObject

type: StackTraceArguments # type: string # type: number # type: string



2234
2235
2236
# File 'lib/dsp/dsp_protocol.rb', line 2234

def seq
  @seq
end

#typeObject

type: StackTraceArguments # type: string # type: number # type: string



2234
2235
2236
# File 'lib/dsp/dsp_protocol.rb', line 2234

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



2236
2237
2238
2239
2240
2241
2242
2243
# File 'lib/dsp/dsp_protocol.rb', line 2236

def from_h!(value)
  value = {} if value.nil?
  self.arguments = StackTraceArguments.new(value['arguments']) unless value['arguments'].nil?
  self.command = value['command']
  self.seq = value['seq']
  self.type = value['type']
  self
end