Created
August 23, 2014 04:31
-
-
Save matiasinsaurralde/9d23bc333690fd92d306 to your computer and use it in GitHub Desktop.
uber-twilio.rb
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
# using a twilio phone number for uber sms verification | |
require 'rubygems' | |
require 'twilio-ruby' | |
require 'sinatra' | |
get '/' do | |
twiml = Twilio::TwiML::Response.new do |r| | |
r.Message 'GO' | |
end | |
twiml.text | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment