Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
philm committed Jun 22, 2009
1 parent 2915a69 commit 385d92c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.rdoc
Expand Up @@ -23,6 +23,10 @@ Now instantiate other objects by passing in the connection:
When Twilio's servers ping your callback url, you can respond with the Twilio Verb object. For example,
in a Ruby on Rails application, you could do the following inside a controller class:

Twilio::Verb.new.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
Expand Down

0 comments on commit 385d92c

Please sign in to comment.