Exception: MailgunCatcher::Notifier::EventError
- Inherits:
-
StandardError
- Object
- StandardError
- MailgunCatcher::Notifier::EventError
- Defined in:
- lib/mailgun_catcher/notifier/bugsnag.rb
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Method Summary collapse
- #bugsnag_context ⇒ Object
- #bugsnag_grouping_hash ⇒ Object
- #bugsnag_meta_data ⇒ Object
-
#initialize(event) ⇒ EventError
constructor
A new instance of EventError.
Constructor Details
#initialize(event) ⇒ EventError
Returns a new instance of EventError.
13 14 15 16 |
# File 'lib/mailgun_catcher/notifier/bugsnag.rb', line 13 def initialize(event) @event = event super(event.) end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
11 12 13 |
# File 'lib/mailgun_catcher/notifier/bugsnag.rb', line 11 def event @event end |
Instance Method Details
#bugsnag_context ⇒ Object
22 23 24 |
# File 'lib/mailgun_catcher/notifier/bugsnag.rb', line 22 def bugsnag_context 'mailgun' end |
#bugsnag_grouping_hash ⇒ Object
26 27 28 |
# File 'lib/mailgun_catcher/notifier/bugsnag.rb', line 26 def bugsnag_grouping_hash event. end |
#bugsnag_meta_data ⇒ Object
18 19 20 |
# File 'lib/mailgun_catcher/notifier/bugsnag.rb', line 18 def { event_details: event.event_data } end |