Class: Notifun::Notifier::ParentNotifier

Inherits:
Object
  • Object
show all
Defined in:
lib/notifun/notifiers/parent_notifier.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeParentNotifier

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_messageObject

Returns the value of attribute error_message.



2
3
4
# File 'lib/notifun/notifiers/parent_notifier.rb', line 2

def error_message
  @error_message
end

#successObject

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