Page MenuHomeGRNET

user_mailer.rb
No OneTemporary

File Metadata

Created
Mon, Aug 17, 1:33 PM

user_mailer.rb

class UserMailer < ActionMailer::Base
default from: Archiving.settings[:default_sender]
# Notifies the host's owners that the host has been verified by an admin
# and is now ready to be configured
#
# @param user_emails[Array] the owners' emails
# @param host[String] the host's FQDN
def notify_for_verification(user_emails, host)
@host = host
s = "[Archiving] Host #{host} verification"
mail(to: user_emails, subject: s)
end
end

Event Timeline