mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add missing newlines before param listing to fix doc rendering
This commit is contained in:
parent
0e37fb3bd3
commit
204e66943f
1 changed files with 4 additions and 0 deletions
|
@ -159,6 +159,7 @@ def list_rooms(api_key=None):
|
|||
def list_users(api_key=None):
|
||||
'''
|
||||
List all Slack users.
|
||||
|
||||
:param api_key: The Slack admin api key.
|
||||
:return: The user list.
|
||||
|
||||
|
@ -176,6 +177,7 @@ def list_users(api_key=None):
|
|||
def find_room(name, api_key=None):
|
||||
'''
|
||||
Find a room by name and return it.
|
||||
|
||||
:param name: The room name.
|
||||
:param api_key: The Slack admin api key.
|
||||
:return: The room object.
|
||||
|
@ -207,6 +209,7 @@ def find_room(name, api_key=None):
|
|||
def find_user(name, api_key=None):
|
||||
'''
|
||||
Find a user by name and return it.
|
||||
|
||||
:param name: The user name.
|
||||
:param api_key: The Slack admin api key.
|
||||
:return: The user object.
|
||||
|
@ -235,6 +238,7 @@ def post_message(channel,
|
|||
api_key=None):
|
||||
'''
|
||||
Send a message to a Slack channel.
|
||||
|
||||
:param channel: The channel name, either will work.
|
||||
:param message: The message to send to the Slack channel.
|
||||
:param from_name: Specify who the message is from.
|
||||
|
|
Loading…
Add table
Reference in a new issue