Created
September 28, 2018 19:57
-
-
Save evantravers/a8a695954511034a169d44815efc9b23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sends a message to a user | |
# takes an email and user | |
def send(e, u) do | |
e.send(u.email) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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