Class: UniformNotifier::AirbrakeNotifier
- Inherits:
-
Base
- Object
- Base
- UniformNotifier::AirbrakeNotifier
show all
- Defined in:
- lib/uniform_notifier/airbrake.rb
Class Method Summary
collapse
Methods inherited from Base
inline_notify, wrap_js_association
Class Method Details
.active? ⇒ Boolean
3
4
5
|
# File 'lib/uniform_notifier/airbrake.rb', line 3
def self.active?
UniformNotifier.airbrake
end
|
.out_of_channel_notify(message) ⇒ Object
7
8
9
10
11
|
# File 'lib/uniform_notifier/airbrake.rb', line 7
def self.out_of_channel_notify(message)
return unless active?
exception = Exception.new(message)
Airbrake.notify(exception)
end
|