Sha256: 53e1c83e402bd62bd1e32da57144e69d04d0822e4d0ad48b8b80b48f99bf00fb

Contents?: true

Size: 691 Bytes

Versions: 11

Compression:

Stored size: 691 Bytes

Contents

if defined?(ActionMailer::Preview)
  class MailPreview < ActionMailer::Preview
    def bulk_message_email
      message = Message.first
      Mailer.bulk_message_email(message, User.first.id)
    end

    def incomplete_reminder_email
      Mailer.incomplete_reminder_email(User.without_questionnaire.first.id)
    end

    def bus_captain_confirmation_email
      buslist = BusList.first
      Mailer.bus_captain_confirmation_email(buslist.id, buslist.captains.first.id)
    end

    def slack_invite_email
      Mailer.slack_invite_email(Questionnaire.first.id)
    end

    def bus_list_update_email
      Mailer.bus_list_update_email(BusList.first.passengers.first.id)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hackathon_manager-0.11.0 app/mailers/mail_preview.rb
hackathon_manager-0.10.3 app/mailers/mail_preview.rb
hackathon_manager-0.10.2 app/mailers/mail_preview.rb
hackathon_manager-0.10.1 app/mailers/mail_preview.rb
hackathon_manager-0.10.0 app/mailers/mail_preview.rb
hackathon_manager-0.9.2 app/mailers/mail_preview.rb
hackathon_manager-0.9.1 app/mailers/mail_preview.rb
hackathon_manager-0.9.0 app/mailers/mail_preview.rb
hackathon_manager-0.8.2 app/mailers/mail_preview.rb
hackathon_manager-0.8.1 app/mailers/mail_preview.rb
hackathon_manager-0.8.0 app/mailers/mail_preview.rb