Sha256: ffeae66ed205db79a72faddb8618fcf8c1ec462c3bfba5e1ec59a73087e01ed1

Contents?: true

Size: 751 Bytes

Versions: 1

Compression:

Stored size: 751 Bytes

Contents

require 'peoplefinder'

class Peoplefinder::ReminderMailer < ActionMailer::Base
  def inadequate_profile(person)
    @person = person
    @token = Peoplefinder::Token.for_person(@person)
    mail to: @person.email
  end

  def information_request(information_request)
    @person = information_request.recipient
    @token = Peoplefinder::Token.for_person(@person)
    @message = information_request.message

    mail to: @person.email
  end

  def reported_profile(reported_profile)
    @subject = reported_profile.subject
    @notifier = reported_profile.notifier
    @reason_for_reporting = reported_profile.reason_for_reporting
    @additional_details = reported_profile.additional_details

    mail to: reported_profile.recipient_email
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
peoplefinder-0.0.2 app/mailers/peoplefinder/reminder_mailer.rb