Skip to content

Commit a269b9f

Browse files
author
sambyers
committed
added to binding methods section
1 parent 569ce6d commit a269b9f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/user/quickstart.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -472,14 +472,15 @@ contain all of the returned objects.
472472
Extending the API with bound methods
473473
------------------------------------
474474

475-
As the Webex Teams API is developed and features are added, it may be necessary to add functions to access those features.
476-
Extending the API is simple by binding your own methods to the top level API instance. By binding a method, you can
477-
extend functionality and leverage all of the objects and quality of life features of WebexTeamsAPI.
475+
As the Webex Teams API is developed and features are added, it may be necessary to extend the webexteamssdk to access those features.
476+
Extending the API is simple by binding your own methods to the WebexTeamsAPI connection object. By binding a method, you can
477+
extend functionality and leverage all of the objects and quality of life features of webexteamssdk.
478478

479479
.. code-block:: python
480480
481-
>>> new_method():
482-
... pass
481+
>>> new_method(self, params):
482+
... json_obj = self._session.get('/example/action/' + params)
483+
... return json_obj
483484
>>> WebexTeamsAPI().new_method = new_method
484485
>>> output = WebexTeamsAPI.new_method(params)
485486

0 commit comments

Comments
 (0)