Class: Tolliver::Services::Methods::Email::Smtp

Inherits:
Object
  • Object
show all
Defined in:
lib/tolliver/services/methods/email/smtp.rb

Instance Method Summary collapse

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