Class: Backup::Configuration::Notifier::Base

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/configuration/notifier/base.rb

Direct Known Subclasses

Campfire, Hipchat, Mail, Presently, Prowl, Twitter

Class Attribute Summary collapse

Method Summary

Methods inherited from Base

defaults

Methods included from Helpers

#clear_defaults!, #load_defaults!

Class Attribute Details

.on_failureObject

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_successObject

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_warningObject

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