lib/slack/web/api/endpoints/usergroups_users.rb in slack-ruby-client-0.14.4 vs lib/slack/web/api/endpoints/usergroups_users.rb in slack-ruby-client-0.14.5
- old
+ new
@@ -1,14 +1,15 @@
+# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake
module Slack
module Web
module Api
module Endpoints
module UsergroupsUsers
#
- # This method returns a list of all users within a User Group.
+ # List all users in a User Group
#
# @option options [Object] :usergroup
# The encoded ID of the User Group to update.
# @option options [Object] :include_disabled
# Allow results that involve disabled User Groups.
@@ -18,10 +19,10 @@
throw ArgumentError.new('Required arguments :usergroup missing') if options[:usergroup].nil?
post('usergroups.users.list', options)
end
#
- # This method updates the list of users that belong to a User Group. This method replaces all users in a User Group with the list of users provided in the users parameter.
+ # Update the list of users for a User Group
#
# @option options [Object] :usergroup
# The encoded ID of the User Group to update.
# @option options [Object] :users
# A comma separated string of encoded user IDs that represent the entire list of users for the User Group.