Class: PoringBackup::Notifier
- Inherits:
-
Object
- Object
- PoringBackup::Notifier
- Defined in:
- lib/poring_backup/notifier.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#notify_message ⇒ Object
readonly
Returns the value of attribute notify_message.
-
#setting ⇒ Object
readonly
Returns the value of attribute setting.
Instance Method Summary collapse
-
#initialize(setting, &block) ⇒ Notifier
constructor
A new instance of Notifier.
- #notify! ⇒ Object
Constructor Details
#initialize(setting, &block) ⇒ Notifier
Returns a new instance of Notifier.
7 8 9 |
# File 'lib/poring_backup/notifier.rb', line 7 def initialize setting, &block @setting = setting end |
Instance Attribute Details
#notify_message ⇒ Object (readonly)
Returns the value of attribute notify_message.
5 6 7 |
# File 'lib/poring_backup/notifier.rb', line 5 def @notify_message end |
#setting ⇒ Object (readonly)
Returns the value of attribute setting.
4 5 6 |
# File 'lib/poring_backup/notifier.rb', line 4 def setting @setting end |
Instance Method Details
#notify! ⇒ Object
11 12 |
# File 'lib/poring_backup/notifier.rb', line 11 def notify! end |