README.rdoc in twilio-3.1.0 vs README.rdoc in twilio-3.1.1
- old
+ new
@@ -7,25 +7,25 @@
== Calling the Twilio REST API
First set your credentials by calling the connect method:
Twilio.connect('my_twilio_sid', 'my_auth_token')
-
+
Now call any of the Twilio classes:
-
+
Twilio::Call.make('1234567890', '9876543210', 'http://mysite.com/connected_call')
Twilio::Recording.list
-
+
== Responding to Twilio
-When Twilio calls your application URL, your response must use the Twilio Markup XML (http://www.twilio.com/docs/api_reference/TwiML/). The Twilio gem makes this very easy
-by providing a Twilio Verb class.
+When Twilio calls your application URL, your response must use the Twilio Markup XML (http://www.twilio.com/docs/api_reference/TwiML/). The Twilio gem makes this very easy
+by providing a Twilio Verb class.
For example, in a Ruby on Rails application, you could do the following inside a controller class:
Twilio::Verb.dial '415-123-4567'
-
+
and you can nest multiple verbs inside a block:
verb = Twilio::Verb.new { |v|
v.say "The time is #{Time.now}"
v.hangup
@@ -33,11 +33,11 @@
verb.response
== Installation
gem install twilio
-
+
== Contributing
1. Run 'bundle' from the command line to install dependencies
2. Write test(s) for your patch
3. Submit a pull request
@@ -45,14 +45,14 @@
Note: don't require 'rubygems' in any file (http://www.rubyinside.com/why-using-require-rubygems-is-wrong-1478.html)
== Testing
* Currently using RSpec
-* Tested with REE 1.8.7, MRI 1.9.2, and MRI 1.9.3
+* Tested with REE 1.8.7, MRI 1.9.2, MRI 1.9.3, and JRuby 1.6.5
== Copyright
-Copyright (c) 2009-2011 Phil Misiowiec, Webficient LLC. See LICENSE for details.
+Copyright Phil Misiowiec, Webficient LLC. See LICENSE for details.
== Contributors
* Kyle Daigle
* Yuri Gadow
\ No newline at end of file