Class: Tolliver::Services::Methods::Email::Smtp
- Inherits:
-
Object
- Object
- Tolliver::Services::Methods::Email::Smtp
- Defined in:
- lib/tolliver/services/methods/email/smtp.rb
Instance Method Summary collapse
- #deliver(notification, notification_receiver) ⇒ Object
-
#initialize(params = {}) ⇒ Smtp
constructor
A new instance of Smtp.
Constructor Details
#initialize(params = {}) ⇒ Smtp
Returns a new instance of Smtp.
18 |
# File 'lib/tolliver/services/methods/email/smtp.rb', line 18 def initialize(params = {}) end |
Instance Method Details
#deliver(notification, notification_receiver) ⇒ Object
20 21 22 |
# File 'lib/tolliver/services/methods/email/smtp.rb', line 20 def deliver(notification, notification_receiver) Tolliver::NotificationMailer.notify(notification, notification_receiver).deliver_now end |