Welcome to mirror list, hosted at ThFree Co, Russian Federation.

email_rejection_mailer_preview.rb « previews « mailers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 402066151ef074fc793aa2fa3f9af8fd0eac2dd1 (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

class EmailRejectionMailerPreview < ActionMailer::Preview
  def rejection
    EmailRejectionMailer.rejection("some rejection reason", "From: someone@example.com\nraw email here").message
  end
end