Sha256: 24e412fd006518e46b4d1c02aee5ab88247d14fe703d0a9f6bc5a37efffde254

Contents?: true

Size: 286 Bytes

Versions: 2

Compression:

Stored size: 286 Bytes

Contents

class UserMailer < ApplicationMailer
  acts_as_notifier

  # Subject can be set in your I18n file at config/locales/en.yml
  # with the following lookup:
  #
  #   en.user_mailer.success.subject
  #
  def success(recipient)
    @greeting = "Hi"

    mail to: "to@example.org"
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
pubsub_notifier-0.1.2 spec/rails/rails-5.0.4/app/mailers/user_mailer.rb
pubsub_notifier-0.1.2 spec/rails/rails-5.1.2/app/mailers/user_mailer.rb