Class: Raven::SingleExceptionInterface
- Defined in:
- lib/raven/interfaces/single_exception.rb
Instance Attribute Summary collapse
-
#module ⇒ Object
Returns the value of attribute module.
-
#stacktrace ⇒ Object
Returns the value of attribute stacktrace.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Methods inherited from Interface
Constructor Details
This class inherits a constructor from Raven::Interface
Instance Attribute Details
#module ⇒ Object
Returns the value of attribute module.
8 9 10 |
# File 'lib/raven/interfaces/single_exception.rb', line 8 def module @module end |
#stacktrace ⇒ Object
Returns the value of attribute stacktrace.
9 10 11 |
# File 'lib/raven/interfaces/single_exception.rb', line 9 def stacktrace @stacktrace end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/raven/interfaces/single_exception.rb', line 6 def type @type end |
#value ⇒ Object
Returns the value of attribute value.
7 8 9 |
# File 'lib/raven/interfaces/single_exception.rb', line 7 def value @value end |
Instance Method Details
#to_hash(*args) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/raven/interfaces/single_exception.rb', line 11 def to_hash(*args) data = super(*args) if data[:stacktrace] data[:stacktrace] = data[:stacktrace].to_hash end data end |