Skip to content

Instantly share code, notes, and snippets.

@evantravers
Created September 28, 2018 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evantravers/a8a695954511034a169d44815efc9b23 to your computer and use it in GitHub Desktop.
Save evantravers/a8a695954511034a169d44815efc9b23 to your computer and use it in GitHub Desktop.
# sends a message to a user
# takes an email and user
def send(e, u) do
e.send(u.email)
end
def send_email_to_user(email, user) do
email.send(user.email)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment