README.rdoc in twilio-2.4.0 vs README.rdoc in twilio-2.4.1
- old
+ new
@@ -22,16 +22,16 @@
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')
+ 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
+ verb = Twilio::Verb.new {
+ say "The time is #{Time.now}"
+ hangup
}
verb.response
== Copyright