Just install the gem!
$ gem install twilio-ruby
The /getting-started
will get you up and running in a few quick minutes. This guide assumes you understand the core concepts of Twilio. If you've never used Twilio before, don't fret! Just read about how Twilio works and then jump in!
Functionality is split over three different sub-packages within twilio-ruby. Below are in-depth guides to specific portions of the library.
Query the Twilio REST API to create phone calls, send SMS/MMS messages and more!
usage/basics usage/errors usage/messages usage/phone-calls usage/phone-numbers usage/accounts usage/conferences usage/applications usage/notifications usage/recordings usage/transcriptions usage/caller-ids usage/queues usage/sip usage/pricing
TaskRouter ---------
Query the Twilio TaskRouter API to set up workspaces and task routing, and create capability tokens to authorize your client-side code to safely update state.
usage/taskrouter usage/taskrouter-tokens
Query the Lookups API to get information about phone numbers and their carriers.
usage/lookups
Generates valid TwiML for controlling and manipulating phone calls.
usage/twiml
Small functions useful for validating requests are coming from Twilio
usage/validation usage/token-generation
What to do if you get an ImportError
, and some advice about how to format phone numbers.
faq
See the /changelog
for version history.
All development occurs over on Github. To checkout the source,
$ git clone git@github.com:twilio/twilio-ruby.git
Report bugs using the Github issue tracker.
If you have questions that aren't answered by this documentation, ask the #twilio IRC channel