Class: Dallal::Notifiers::EmailNotifier

Inherits:
Notifier
  • Object
show all
Defined in:
lib/dallal/notifiers/email_notifier.rb

Instance Attribute Summary

Attributes inherited from Notifier

#notification

Instance Method Summary collapse

Methods inherited from Notifier

email, #initialize, sms

Methods included from AbstractInterface

included

Constructor Details

This class inherits a constructor from Dallal::Notifiers::Notifier

Instance Method Details

#notify!Object



4
5
6
7
8
# File 'lib/dallal/notifiers/email_notifier.rb', line 4

def notify!
  # TODO please pass a email notification instead
  define_email_methods
  mailer.notify(notification).deliver_now
end

#persist!Object



10
11
# File 'lib/dallal/notifiers/email_notifier.rb', line 10

def persist!
end