Created
April 14, 2016 05:14
-
-
Save kristianfreeman/6f9b035ec1991be6de047f6649ffcd9b 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
def index(conn, %{“hub.verify_token” => verify_token, “hub.challenge” => challenge}) do | |
resp = | |
case verify_token do | |
“helloworld” -> challenge | |
_ -> “notok” | |
end | |
text conn, resp | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment