Sha256: 1578155196ff8083db668ced7d7510cc19b2a700955db9d6dd32f8107bbd8b17

Contents?: true

Size: 286 Bytes

Versions: 2

Compression:

Stored size: 286 Bytes

Contents

class PostMailer < ApplicationMailer
  acts_as_notifier

  # Subject can be set in your I18n file at config/locales/en.yml
  # with the following lookup:
  #
  #   en.post_mailer.failure.subject
  #
  def failure(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/post_mailer.rb
pubsub_notifier-0.1.2 spec/rails/rails-5.1.2/app/mailers/post_mailer.rb