Sha256: abcb7574a9fa1a233373283225e6975329cad608a8c7395f65bf5c0638fd14b7
Contents?: true
Size: 572 Bytes
Versions: 32
Compression:
Stored size: 572 Bytes
Contents
# frozen_string_literal: true module Decidim module DummyResources class DummyResourceMailer < ApplicationMailer def send_email(user, organization, subject, reply_to) @user = user @organization = organization hash = { to: "#{user.name} <#{user.email}>" } hash[:subject] = subject if subject hash[:reply_to] = reply_to if reply_to mail( hash ) do |format| format.text { "This is the test" } format.html { "<p>This is a mail </p>" } end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems