Sha256: 30d92440e54f1750f213ac219cbf96d1add8840e6651fdab1c049b67dc44bf66

Contents?: true

Size: 210 Bytes

Versions: 25

Compression:

Stored size: 210 Bytes

Contents

module MessageTrain
  class ReceiptMailerPreview < ActionMailer::Preview

    def notification_email
      receipt = MessageTrain::Receipt.last
      ReceiptMailer.notification_email(receipt)
    end

  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
message_train-0.5.2 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.5.1 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.5.0 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.4.6 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.4.5 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.4.4 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.4.3 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.4.2 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.4.1 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.4.0 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.3.1 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.3.0 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.2.12 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.2.11 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.2.10 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.2.9 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.2.8 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.2.7 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.2.6 app/mailers/message_train/previews/receipt_mailer_preview.rb
message_train-0.2.5 app/mailers/message_train/previews/receipt_mailer_preview.rb