Class: Backup::Configuration::Notifier::Base
- Defined in:
- lib/backup/configuration/notifier/base.rb
Class Attribute Summary collapse
-
.on_failure ⇒ Object
When set to true, the user will be notified by email when a backup process raises an exception before finishing.
-
.on_success ⇒ Object
When set to true, the user will be notified by email when a backup process ends without raising any exceptions.
-
.on_warning ⇒ Object
When set to true, the user will be notified by email when a backup process ends successfully, but logged warnings.
Method Summary
Methods inherited from Base
Methods included from Helpers
#clear_defaults!, #load_defaults!
Class Attribute Details
.on_failure ⇒ Object
When set to true, the user will be notified by email when a backup process raises an exception before finishing
22 23 24 |
# File 'lib/backup/configuration/notifier/base.rb', line 22 def on_failure @on_failure end |
.on_success ⇒ Object
When set to true, the user will be notified by email when a backup process ends without raising any exceptions
12 13 14 |
# File 'lib/backup/configuration/notifier/base.rb', line 12 def on_success @on_success end |
.on_warning ⇒ Object
When set to true, the user will be notified by email when a backup process ends successfully, but logged warnings
17 18 19 |
# File 'lib/backup/configuration/notifier/base.rb', line 17 def on_warning @on_warning end |