Skip to content

Instantly share code, notes, and snippets.

@excid3
Last active December 13, 2015 17:38
Show Gist options
  • Save excid3/4948919 to your computer and use it in GitHub Desktop.
Save excid3/4948919 to your computer and use it in GitHub Desktop.
def close_call(medic, call)
@call = call
@medic = medic
recipients = [@medic.medic_sms, @medic.medic_email]
recipients << @call.transferred_from.facility_email if @call.transferred_from.facility_email?
mail to: recipients, subject: "Call Complete: #{@call.incident_number}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment