Module: Opticon
- Defined in:
- lib/opticon/version.rb,
lib/opticon.rb,
lib/opticon/http.rb,
lib/opticon/mailer.rb,
lib/opticon/runner.rb,
lib/opticon/tester.rb,
lib/opticon/failure.rb,
lib/opticon/service.rb,
lib/opticon/notifier.rb
Overview
Defined Under Namespace
Modules: Failure, HTTP, Notifier, Tester, VERSION
Classes: Mailer, Runner, Service
Constant Summary
collapse
- @@default_notifiers =
[]
- @@default_timeout =
3
Class Method Summary
collapse
Class Method Details
.default_notifiers ⇒ Object
7
8
9
|
# File 'lib/opticon.rb', line 7
def default_notifiers
@@default_notifiers
end
|
.default_notifiers=(notifiers) ⇒ Object
10
11
12
13
|
# File 'lib/opticon.rb', line 10
def default_notifiers=(notifiers)
notifiers = [notifiers] unless notifiers.kind_of? Array
@@default_notifiers = notifiers
end
|
.default_timeout ⇒ Object
17
18
19
|
# File 'lib/opticon.rb', line 17
def default_timeout
@@default_timeout
end
|
.default_timeout=(timeout) ⇒ Object
20
21
22
|
# File 'lib/opticon.rb', line 20
def default_timeout=(timeout)
@@default_timeout = timeout
end
|