Sha256: a341eebb5c6e22fbf99bd001db59e7e2bfa508c817062dd03edbdf9e52226188

Contents?: true

Size: 236 Bytes

Versions: 24

Compression:

Stored size: 236 Bytes

Contents

module MessageTrain
  # Receipt mailer preview
  class ReceiptMailerPreview < ActionMailer::Preview
    def notification_email
      receipt = MessageTrain::Receipt.last
      ReceiptMailer.notification_email(receipt)
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
message_train-0.6.2 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.1 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.0 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.5.3 app/mailers/message_train/previews/receipt_mailer_preview.rb