Method: Errordeck::Stacktrace#as_json

Defined in:
lib/errordeck/errordeck/issue/stacktrace.rb

#as_json(*_options) ⇒ Object



21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/errordeck/errordeck/issue/stacktrace.rb', line 21

def as_json(*_options)
  {
    abs_path: @abs_path,
    function: @function,
    in_app: @in_app,
    filename: @filename,
    lineno: @lineno,
    module: @module,
    vars: @vars,
    context_line: @context_line,
    pre_context: @pre_context,
    post_context: @post_context
  }
end