Skip to content

Commit

Permalink
Fix for the documentation on initiating a new call.
Browse files Browse the repository at this point in the history
  • Loading branch information
aes committed Jul 21, 2011
1 parent ce94211 commit c1186a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage/phone-calls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ The :class:`Calls` resource allows you to make outgoing calls. Before a call can
from twilio.rest import TwilioRestClient
client = TwilioRestClient()
call = client.calls.make(to="9991231234, from_="9991231234")
url="http://foo.com/call.xml")
call = client.calls.create(to="9991231234, from_="9991231234",
url="http://foo.com/call.xml")
print call.length
print call.sid
Expand Down

0 comments on commit c1186a0

Please sign in to comment.