Skip to content

Commit

Permalink
update docs to use <Message>
Browse files Browse the repository at this point in the history
  • Loading branch information
dougblack committed Jan 24, 2014
1 parent 0937fde commit 3b529b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/usage/twiml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ Record
<Record action="http://foo.com/path/to/redirect" maxLength="20"/>
</Response>
Sms
Message
---

.. code-block:: php
$response = new Services_Twilio_Twiml;
$response->sms('Hello World', array(
$response->message('Hello World', array(
'to' => '+14150001111',
'from' => '+14152223333'
));
Expand All @@ -126,7 +126,7 @@ Sms
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Sms to="+14150001111" from="+14152223333">Hello World</Sms>
<Message to="+14150001111" from="+14152223333">Hello World</Message>
</Response>
Dial
Expand Down

0 comments on commit 3b529b1

Please sign in to comment.