Class: EmailRejectionMailerPreview

Inherits:
ActionMailer::Preview
  • Object
show all
Defined in:
app/mailers/previews/email_rejection_mailer_preview.rb

Instance Method Summary collapse

Instance Method Details

#rejectionObject


4
5
6
# File 'app/mailers/previews/email_rejection_mailer_preview.rb', line 4

def rejection
  EmailRejectionMailer.rejection("some rejection reason", "From: [email protected]\nraw email here").message
end