8000 Merge pull request #111 from alexcchan/master · Stackdriver/twilio-python@d86762a · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 1, 2018. It is now read-only.

Commit d86762a

Browse files
author
Kevin Burke
committed
Merge pull request twilio#111 from alexcchan/master
Documentation fixes for conferences and phone numbers.
2 parents 9a445a0 + c2a1084 commit d86762a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/usage/conferences.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Listing Conferences
2626
Filtering Conferences
2727
-----------------------
2828

29-
The :meth:`Conferences.list` method supports filtering on :attr:`status`, :attr:`date_updated`, :attr:`date_created` and :attr:`friendly_name`. The following code will return a list of all active conferences and print their friendly name.
29+
The :meth:`Conferences.list` method supports filtering on :attr:`status`, :attr:`date_updated`, :attr:`date_created` and :attr:`friendly_name`. The following code will return a list of all in-progress conferences and print their friendly name.
3030

3131
.. code-block:: python
3232
@@ -37,7 +37,7 @@ The :meth:`Conferences.list` method supports filtering on :attr:`status`, :attr:
3737
AUTH_TOKEN = "YYYYYYYYYYYYYYYYYY"
3838
3939
client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)
40-
conferences = client.conferences.list(status="active")
40+
conferences = client.conferences.list(status="in-progress")
4141
4242
for conference in conferences:
4343
print conference.friendly_name

docs/usage/phone-numbers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ If you've found a phone number you want, you can purchase the number.
9595
AUTH_TOKEN = "YYYYYYYYYYYYYYYYYY"
9696
9797
client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)
98-
number = client.phone_numbers.purchase("+15305431234")
98+
number = client.phone_numbers.purchase(phone_number="+15305431234")
9999
100100
However, it's easier to purchase numbers after finding them using search (as
101101
shown in the first example).

0 commit comments

Comments
 (0)
0