forked from platypush/platypush
Doc fixes
This commit is contained in:
parent
1abcb1de4b
commit
63ad4bfdce
1 changed files with 4 additions and 4 deletions
|
@ -60,7 +60,7 @@ class TwilioPlugin(Plugin):
|
||||||
|
|
||||||
:param country: Country code (e.g. ``US`` or ``NL``).
|
:param country: Country code (e.g. ``US`` or ``NL``).
|
||||||
:param number_type: Phone number type - e.g. ``mobile``, ``local`` or ``toll_free``.
|
:param number_type: Phone number type - e.g. ``mobile``, ``local`` or ``toll_free``.
|
||||||
:return: A list of the available phone numbers with their properties and capabilities. Example::
|
:return: A list of the available phone numbers with their properties and capabilities. Example:
|
||||||
|
|
||||||
.. code-block:: json
|
.. code-block:: json
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@ class TwilioPlugin(Plugin):
|
||||||
# noinspection SpellCheckingInspection
|
# noinspection SpellCheckingInspection
|
||||||
"""
|
"""
|
||||||
Request to allocate a phone number on your Twilio account. The phone number should first be displayed as
|
Request to allocate a phone number on your Twilio account. The phone number should first be displayed as
|
||||||
available in :meth:`get_available_phone_numbers`.
|
available in :meth:`.get_available_phone_numbers`.
|
||||||
|
|
||||||
:param phone_number: Phone number to be allocated.
|
:param phone_number: Phone number to be allocated.
|
||||||
:param friendly_name: A string used to identify your new phone number.
|
:param friendly_name: A string used to identify your new phone number.
|
||||||
|
@ -395,7 +395,7 @@ class TwilioPlugin(Plugin):
|
||||||
Get the details of a stored message.
|
Get the details of a stored message.
|
||||||
|
|
||||||
:param message_sid: Message SID to be retrieved.
|
:param message_sid: Message SID to be retrieved.
|
||||||
:return: Message with its properties - see :meth:`send_message`.
|
:return: Message with its properties - see :meth:`.send_message`.
|
||||||
"""
|
"""
|
||||||
msg = self.client.messages(message_sid).fetch()
|
msg = self.client.messages(message_sid).fetch()
|
||||||
# noinspection PyProtectedMember
|
# noinspection PyProtectedMember
|
||||||
|
@ -408,7 +408,7 @@ class TwilioPlugin(Plugin):
|
||||||
|
|
||||||
:param message_sid: Message SID to be updated.
|
:param message_sid: Message SID to be updated.
|
||||||
:param body: New message body.
|
:param body: New message body.
|
||||||
:return: Updated message with its properties - see :meth:`send_message`.
|
:return: Updated message with its properties - see :meth:`.send_message`.
|
||||||
"""
|
"""
|
||||||
msg = self.client.messages(message_sid).update(body)
|
msg = self.client.messages(message_sid).update(body)
|
||||||
# noinspection PyProtectedMember
|
# noinspection PyProtectedMember
|
||||||
|
|
Loading…
Reference in a new issue