class MailgunCatcher::Notifier::EventError
Attributes
event[R]
Public Class Methods
new(event)
click to toggle source
Calls superclass method
# File lib/mailgun_catcher/notifier/bugsnag.rb, line 13 def initialize(event) @event = event super(event.error_message) end
Public Instance Methods
bugsnag_context()
click to toggle source
# File lib/mailgun_catcher/notifier/bugsnag.rb, line 22 def bugsnag_context 'mailgun' end
bugsnag_grouping_hash()
click to toggle source
# File lib/mailgun_catcher/notifier/bugsnag.rb, line 26 def bugsnag_grouping_hash event.grouping_error_message end
bugsnag_meta_data()
click to toggle source
# File lib/mailgun_catcher/notifier/bugsnag.rb, line 18 def bugsnag_meta_data { event_details: event.event_data } end