Class: UniformNotifier::Raise
- Inherits:
-
Base
- Object
- Base
- UniformNotifier::Raise
show all
- Defined in:
- lib/uniform_notifier/raise.rb
Class Method Summary
collapse
Methods inherited from Base
inline_notify, out_of_channel_notify
Class Method Details
.active? ⇒ Boolean
3
4
5
|
# File 'lib/uniform_notifier/raise.rb', line 3
def self.active?
@exception_class
end
|
.setup_connection(exception_class) ⇒ Object
7
8
9
|
# File 'lib/uniform_notifier/raise.rb', line 7
def self.setup_connection(exception_class)
@exception_class = exception_class == true ? Exception : exception_class
end
|