8000 Fixing typo in TwilioRestClient documentation. · Web5design/twilio-python@e0db73f · GitHub
[go: up one dir, main page]

Skip to content

Commit e0db73f

Browse files
committed
Fixing typo in TwilioRestClient documentation.
1 parent cd5fced commit e0db73f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/basics.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The :class:`TwilioRestClient` gives you access to various list resources. :meth:
5050
AUTH_TOKEN = "YYYYYYYYYYYYYYYYYY"
5151
5252
client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)
53-
resources = client.phone_calls.list()
53+
resources = client.calls.list()
5454
5555
:meth:`resource.ListResource.list` accepts paging arguments. The following will return page 3 with page size of 25.
5656

@@ -63,7 +63,7 @@ The :class:`TwilioRestClient` gives you access to various list resources. :meth:
6363
AUTH_TOKEN = "YYYYYYYYYYYYYYYYYY"
6464
6565
client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)
66-
resources = client.phone_calls.list(page=3, page_size=25)
66+
resources = client.calls.list(page=3, page_size=25)
6767
6868
6969
Listing All Resources

0 commit comments

Comments
 (0)
0