Class: Sentry::ExceptionInterface

Inherits:
Interface show all
Defined in:
lib/sentry/interfaces/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Interface

inherited, registered

Instance Attribute Details

#valuesObject

Returns the value of attribute values.



3
4
5
# File 'lib/sentry/interfaces/exception.rb', line 3

def values
  @values
end

Instance Method Details

#to_hashObject



5
6
7
8
9
# File 'lib/sentry/interfaces/exception.rb', line 5

def to_hash
  data = super
  data[:values] = data[:values].map(&:to_hash) if data[:values]
  data
end