Class: ExceptionNotifier::SquashNotifier::SquashRubyNotifier
- Inherits:
-
BaseNotifier
- Object
- BaseNotifier
- ExceptionNotifier::SquashNotifier::SquashRubyNotifier
- Defined in:
- lib/exception_notifier/squash_notifier/ruby.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from BaseNotifier
#initialize, whitelist_env_filter
Constructor Details
This class inherits a constructor from ExceptionNotifier::SquashNotifier::BaseNotifier
Instance Method Details
#call(exception, data = {}) ⇒ Object
19 20 21 22 |
# File 'lib/exception_notifier/squash_notifier/ruby.rb', line 19 def call(exception, data={}) #NB: You can pass a `user_data` hash to #notify, and most attr's will be placed into a `user_data` field Squash::Ruby.notify(exception, data) end |