Class: Exceptify::Notifier
- Inherits:
-
Object
- Object
- Exceptify::Notifier
- Defined in:
- lib/exceptify/notifier.rb
Class Method Summary collapse
- .background_exceptify(exception, options = {}) ⇒ Object
- .exceptify(env, exception, options = {}) ⇒ Object
Class Method Details
.background_exceptify(exception, options = {}) ⇒ Object
14 15 16 17 |
# File 'lib/exceptify/notifier.rb', line 14 def self.background_exceptify(exception, = {}) ActiveSupport::Deprecation.warn "Please use Exceptify.notify_exception(exception, options)." Exceptify.registered_notifier(:email).create_email(exception, ) end |
.exceptify(env, exception, options = {}) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/exceptify/notifier.rb', line 7 def self.exceptify(env, exception, = {}) ActiveSupport::Deprecation.warn( "Please use Exceptify.notify_exception(exception, options.merge(env: env))." ) Exceptify.registered_notifier(:email).create_email(exception, .merge(env: env)) end |