gitlab-org--gitlab-foss/app/mailers/previews/email_rejection_mailer_prev...

8 lines
228 B
Ruby

# 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