Class: Backup::Configuration::Notifier::Base
- Defined in:
- lib/backup/configuration/notifier/base.rb
Class Attribute Summary collapse
-
.on_failure ⇒ Object
When @on_failure is nil it means it hasn’t been defined and will then default to true.
-
.on_success ⇒ Object
When @on_success is nil it means it hasn’t been defined and will then default to true.
Method Summary
Methods inherited from Base
Methods included from Helpers
#clear_defaults!, #getter_methods, #load_defaults!, #setter_methods
Class Attribute Details
.on_failure ⇒ Object
When @on_failure is nil it means it hasn’t been defined and will then default to true
32 33 34 35 |
# File 'lib/backup/configuration/notifier/base.rb', line 32 def self.on_failure return true if @on_failure.nil? @on_failure end |
.on_success ⇒ Object
When @on_success is nil it means it hasn’t been defined and will then default to true
24 25 26 27 |
# File 'lib/backup/configuration/notifier/base.rb', line 24 def self.on_success return true if @on_success.nil? @on_success end |