Skip to content

Instantly share code, notes, and snippets.

View gertig's full-sized avatar

Andrew Gertig gertig

View GitHub Profile
@gertig
gertig / goodbye.xml.builder
Created November 8, 2010 14:44
views/callme/goodbye.xml.builder
xml.instruct!
xml.Response do
xml.Say "Good bye."
end
@gertig
gertig / directions.xml.builder
Created November 8, 2010 14:43
views/callme/directions.xml.builder
xml.instruct!
xml.Response do
xml.Say "Your appointment is located in a building near a road."
xml.Redirect @redirectto
end
@gertig
gertig / callme_controller.rb
Created November 8, 2010 14:39
controller/callme_controller.rb
# your Twilio authentication credentials
ACCOUNT_SID = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX'
ACCOUNT_TOKEN = 'YYYYYYYYYYYYYYYYYYYYYYYYYYYY'
# version of the Twilio REST API to use
API_VERSION = '2010-04-01'
# base URL of this application
BASE_URL = "localhost:3000" #production ex: "http://appname.heroku.com/callme"