Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Ruby gem for communicating with the Twilio API and generating TwiML

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 lib
Octocat-spinner-32 tests
Octocat-spinner-32 Changelog
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
README.markdown

Ruby Twilio Helper Library

Description

The Twilio REST SDK simplifies the process of makes calls to the Twilio REST. The Twilio REST API lets to you initiate outgoing calls, list previous call, and much more. See http://www.twilio.com/docs for more information.

Gemcutter

$ sudo gem install twiliolib

Manual Installation

To use the rake command to build the gem and

$ sudo gem install /path/to/twiliolib/gem

to finish the installation

Usage

As shown in examples, you will need to specify the ACCOUNT_ID and ACCOUNT_TOKEN given to you by Twilio before you can make REST requests. In addition, you will need to choose a 'Caller' and 'Called' before making outgoing calls. See http://www.twilio.com/docs for more information.

Files

  • lib/twilio.rb: include this library in your code
  • examples/example-rest2.rb: example usage of REST with specific functions for each type of request to make the lib easier to use
  • examples/example-rest.rb: example usage of REST
  • examples/example-twiml.rb: example usage of the TwiML generator
  • examples/example-utils.rb: example usage of utilities

License

The Twilio Ruby Helper Library is distributed under the MIT License

Thanks

Something went wrong with that request. Please try again.