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.7.6 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.7.5 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.7.3 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.7.2 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.7.1 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.17 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.16 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.15 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.14 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.13 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.12 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.11 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.10 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.9 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.8 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.7 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.6 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.5 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.4 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.6.3 app/mailers/message_train/previews/receipt_mailer_preview.rb