lib/slack/web/api/endpoints/usergroups_users.rb in slack-ruby-client-2.2.0 vs lib/slack/web/api/endpoints/usergroups_users.rb in slack-ruby-client-2.3.0
- old
+ new
@@ -5,14 +5,14 @@
module Web
module Api
module Endpoints
module UsergroupsUsers
#
- # List all users in a User Group
+ # List all users in a User Group.
#
# @option options [string] :usergroup
- # The encoded ID of the User Group to update.
+ # The encoded ID of the User Group to list users for.
# @option options [boolean] :include_disabled
# Allow results that involve disabled User Groups.
# @option options [string] :team_id
# encoded team id where the user group exists, required if org token is used.
# @see https://api.slack.com/methods/usergroups.users.list
@@ -21,17 +21,17 @@
raise ArgumentError, 'Required arguments :usergroup missing' if options[:usergroup].nil?
post('usergroups.users.list', options)
end
#
- # Update the list of users for a User Group
+ # Update the list of users for a user group.
#
# @option options [string] :usergroup
- # The encoded ID of the User Group to update.
+ # The encoded ID of the user group to update.
# @option options [array] :users
- # A comma separated string of encoded user IDs that represent the entire list of users for the User Group.
+ # A comma separated string of encoded user IDs that represent the entire list of users for the user group.
# @option options [boolean] :include_count
- # Include the number of users in the User Group.
+ # Include the number of users in the user group.
# @option options [string] :team_id
# encoded team id where the user group exists, required if org token is used.
# @see https://api.slack.com/methods/usergroups.users.update
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/usergroups.users/usergroups.users.update.json
def usergroups_users_update(options = {})