app/models/applications/application_for_offering.rb
# Sends status update to group member
Sends status update to group member
Sends status update to group member
def send_group_member_status_update(group_member, email, deliver_emails_now = true, status = nil)
    link = apply_url(:host => CONSTANTS[:base_url_host], :offering => offering)
    if deliver_emails_now
      EmailContact.log group_member.person_id, ApplyMailer.deliver_group_member_status_update(group_member, email.email_template, group_member.email, nil, link), status
    else
      EmailQueue.queue group_member.person_id, ApplyMailer.create_group_member_status_update(group_member, email.email_template, group_member.email, nil, link), status
    end
  end
def send_group_member_status_update ( group_member , email , deliver_emails_now = true , status = nil ) link = apply_url ( :host => CONSTANTS [ :base_url_host ] , :offering => offering ) if deliver_emails_now EmailContact . log group_member . person_id , ApplyMailer . deliver_group_member_status_update ( group_member , email . email_template , group_member . email , nil , link ) , status else EmailQueue . queue group_member . person_id , ApplyMailer . create_group_member_status_update ( group_member , email . email_template , group_member . email , nil , link ) , status end end
Sends status update to group member
Sends status update to group member
group_member
email
deliver_emails_now
status