lib/slack/web/api/endpoints/admin_teams_settings.rb in slack-ruby-client-0.17.0 vs lib/slack/web/api/endpoints/admin_teams_settings.rb in slack-ruby-client-1.0.0
- old
+ new
@@ -19,11 +19,11 @@
end
#
# Set the default channels of a workspace.
#
- # @option options [Object] :channel_ids
+ # @option options [array] :channel_ids
# An array of channel IDs.
# @option options [Object] :team_id
# ID for the workspace to set the default channel for.
# @see https://api.slack.com/methods/admin.teams.settings.setDefaultChannels
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.teams.settings/admin.teams.settings.setDefaultChannels.json
@@ -34,11 +34,11 @@
end
#
# Set the description of a given workspace.
#
- # @option options [Object] :description
+ # @option options [string] :description
# The new description for the workspace.
# @option options [Object] :team_id
# ID for the workspace to set the description for.
# @see https://api.slack.com/methods/admin.teams.settings.setDescription
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.teams.settings/admin.teams.settings.setDescription.json
@@ -49,11 +49,11 @@
end
#
# An API method that allows admins to set the discoverability of a given workspace
#
- # @option options [Object] :discoverability
+ # @option options [string] :discoverability
# This workspace's discovery setting. It must be set to one of open, invite_only, closed, or unlisted.
# @option options [Object] :team_id
# The ID of the workspace to set discoverability on.
# @see https://api.slack.com/methods/admin.teams.settings.setDiscoverability
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.teams.settings/admin.teams.settings.setDiscoverability.json
@@ -64,11 +64,11 @@
end
#
# Sets the icon of a workspace.
#
- # @option options [Object] :image_url
+ # @option options [string] :image_url
# Image URL for the icon.
# @option options [Object] :team_id
# ID for the workspace to set the icon for.
# @see https://api.slack.com/methods/admin.teams.settings.setIcon
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.teams.settings/admin.teams.settings.setIcon.json
@@ -79,10 +79,10 @@
end
#
# Set the name of a given workspace.
#
- # @option options [Object] :name
+ # @option options [string] :name
# The new name of the workspace.
# @option options [Object] :team_id
# ID for the workspace to set the name for.
# @see https://api.slack.com/methods/admin.teams.settings.setName
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.teams.settings/admin.teams.settings.setName.json