Class: ExceptionNotifier::BugsnagNotifier

Inherits:
Object
  • Object
show all
Defined in:
lib/bugsnag/exception_notification.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ BugsnagNotifier

Returns a new instance of BugsnagNotifier.



5
6
# File 'lib/bugsnag/exception_notification.rb', line 5

def initialize(options)
end

Instance Method Details

#call(exception, options = {}) ⇒ Object



8
9
10
# File 'lib/bugsnag/exception_notification.rb', line 8

def call(exception, options={})
  Bugsnag.auto_notify(exception)
end