Class: Notifun::Notifier::ParentNotifier
- Inherits:
-
Object
- Object
- Notifun::Notifier::ParentNotifier
- Defined in:
- lib/notifun/notifiers/parent_notifier.rb
Direct Known Subclasses
CloudFiveNotifier, EmailNotifier, EmptyNotifier, TwilioNotifier
Instance Attribute Summary collapse
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize ⇒ ParentNotifier
constructor
A new instance of ParentNotifier.
- #notify!(*arguments) ⇒ Object
Constructor Details
#initialize ⇒ ParentNotifier
Returns a new instance of ParentNotifier.
4 5 6 7 |
# File 'lib/notifun/notifiers/parent_notifier.rb', line 4 def initialize @success = false @error_message = nil end |
Instance Attribute Details
#error_message ⇒ Object
Returns the value of attribute error_message.
2 3 4 |
# File 'lib/notifun/notifiers/parent_notifier.rb', line 2 def @error_message end |
#success ⇒ Object
Returns the value of attribute success.
2 3 4 |
# File 'lib/notifun/notifiers/parent_notifier.rb', line 2 def success @success end |
Instance Method Details
#notify!(*arguments) ⇒ Object
9 10 11 |
# File 'lib/notifun/notifiers/parent_notifier.rb', line 9 def notify!(*arguments) false end |