Skip to content

dick/ruby-twilio-sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinatra + Bootstrap + Twilio

This is a barebones Sinatra project to show how to get started sending SMS messages with Twilio in Ruby.

Steps:

  1. Sign up for Twilio: http://www.twilio.com/

  2. Clone the repo

  3. Set your environment variables so that the constants on the right below are set in either your Heroku environment or your local ~/.bashrc file. See here for more info: http://devcenter.heroku.com/articles/config-vars

API_VERSION = '2010-04-01'

ACCOUNT_SID = ENV['TWILIO_SID']

ACCOUNT_TOKEN = ENV['TWILIO_TOKEN']

CALLER_ID = ENV['TWILIO_CALLER_ID']

PIN = ENV['TWILIO_PIN']

  1. Start your server. I use the shotgun gem: http://rtomayko.github.com/shotgun/

shotgun config.ru

About

Sinatra app to show off Twilio sms with Ruby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages