Sha256: 318bdf18bece606891a67c7ef953e54cbe32926df2320f196c73fe50368c756e
Contents?: true
Size: 592 Bytes
Versions: 50
Compression:
Stored size: 592 Bytes
Contents
module RedhatAccess class InsightsMailer < ApplicationMailer def create(user, body, subject, content_type="text/html") mail(to: user.mail, body: body, content_type: content_type, subject: subject) end def weekly_email(user, data, subject, org) @user = user @data = data @org = org @server_url = "#{Setting[:foreman_url]}/redhat_access/insights" @email_settings_url = "#{Setting[:foreman_url]}/users/#{user.id}/edit#mail_preferences" mail(to: user.mail, subject: subject) end end end
Version data entries
50 entries across 50 versions & 1 rubygems