Skip to content

Commit 71e99d1

Browse files
web-flowdblock
authored andcommitted
Update API from slack-api-ref@d0b2989 (2023-05-23)
1 parent d1d74a2 commit 71e99d1

File tree

9 files changed

+10
-7
lines changed

9 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [#473](https://github.com/slack-ruby-client/pulls/473): Update API from [slack-api-ref@a29b520](https://github.com/slack-ruby/slack-api-ref/commit/a29b520) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
1010
* [#474](https://github.com/slack-ruby-client/pulls/474): Update API from [slack-api-ref@629967e](https://github.com/slack-ruby/slack-api-ref/commit/629967e) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
1111
* [#475](https://github.com/slack-ruby-client/pulls/475): Update API from [slack-api-ref@977dad5](https://github.com/slack-ruby/slack-api-ref/commit/977dad5) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
12+
* [#476](https://github.com/slack-ruby-client/pulls/476): Update API from [slack-api-ref@d0b2989](https://github.com/slack-ruby/slack-api-ref/commit/d0b2989) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
1213
* Your contribution here.
1314

1415
### 2.1.0 (2023/03/17)

bin/commands/admin_apps_approved.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class App
99
g.desc 'List approved apps for an org or workspace.'
1010
g.long_desc %( List approved apps for an org or workspace. )
1111
g.command 'list' do |c|
12-
c.flag 'certified', desc: 'Only return certified apps when true, return only non-certified apps when false.'
12+
c.flag 'certified', desc: 'Limit the results to only include certified apps. When false, no certified apps will appear in the result.'
1313
c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
1414
c.flag 'enterprise_id', desc: '.'
1515
c.flag 'limit', desc: 'The maximum number of items to return. Must be between 1 - 1000 both inclusive.'

bin/commands/admin_apps_requests.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class App
2020
g.desc 'List app requests for a team/workspace.'
2121
g.long_desc %( List app requests for a team/workspace. )
2222
g.command 'list' do |c|
23-
c.flag 'certified', desc: 'Limit the results to only include certified apps. When false, no certified apps will appear in the result.'
23+
c.flag 'certified', desc: 'Include requests for certified apps.'
2424
c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
2525
c.flag 'enterprise_id', desc: '.'
2626
c.flag 'limit', desc: 'The maximum number of items to return. Must be between 1 - 1000 both inclusive.'

bin/commands/admin_apps_restricted.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class App
99
g.desc 'List restricted apps for an org or workspace.'
1010
g.long_desc %( List restricted apps for an org or workspace. )
1111
g.command 'list' do |c|
12-
c.flag 'certified', desc: 'Only return certified apps when true, return only non-certified apps when false.'
12+
c.flag 'certified', desc: 'Limit the results to only include certified apps. When false, no certified apps will appear in the result.'
1313
c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
1414
c.flag 'enterprise_id', desc: '.'
1515
c.flag 'limit', desc: 'The maximum number of items to return. Must be between 1 - 1000 both inclusive.'

lib/slack/web/api/endpoints/admin_apps_approved.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module AdminAppsApproved
1010
# List approved apps for an org or workspace.
1111
#
1212
# @option options [boolean] :certified
13-
# Only return certified apps when true, return only non-certified apps when false.
13+
# Limit the results to only include certified apps. When false, no certified apps will appear in the result.
1414
# @option options [string] :cursor
1515
# Set cursor to next_cursor returned by the previous call to list items in the next page.
1616
# @option options [Object] :enterprise_id

lib/slack/web/api/endpoints/admin_apps_requests.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def admin_apps_requests_cancel(options = {})
2626
# List app requests for a team/workspace.
2727
#
2828
# @option options [boolean] :certified
29-
# Limit the results to only include certified apps. When false, no certified apps will appear in the result.
29+
# Include requests for certified apps.
3030
# @option options [string] :cursor
3131
# Set cursor to next_cursor returned by the previous call to list items in the next page.
3232
# @option options [Object] :enterprise_id

lib/slack/web/api/endpoints/admin_apps_restricted.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module AdminAppsRestricted
1010
# List restricted apps for an org or workspace.
1111
#
1212
# @option options [boolean] :certified
13-
# Only return certified apps when true, return only non-certified apps when false.
13+
# Limit the results to only include certified apps. When false, no certified apps will appear in the result.
1414
# @option options [string] :cursor
1515
# Set cursor to next_cursor returned by the previous call to list items in the next page.
1616
# @option options [Object] :enterprise_id

lib/slack/web/api/errors.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ class UsersListNotSupplied < SlackError; end
602602
class UsersNotFound < SlackError; end
603603
class ValidationErrors < SlackError; end
604604
class ViewTooLarge < SlackError; end
605+
class WorkflowsExportCsvNotEnabled < SlackError; end
605606

606607
ERROR_CLASSES = {
607608
'access_denied' => AccessDenied,
@@ -1201,6 +1202,7 @@ class ViewTooLarge < SlackError; end
12011202
'users_not_found' => UsersNotFound,
12021203
'validation_errors' => ValidationErrors,
12031204
'view_too_large' => ViewTooLarge,
1205+
'workflows_export_csv_not_enabled' => WorkflowsExportCsvNotEnabled,
12041206
}.freeze
12051207
end
12061208
end

0 commit comments

Comments
 (0)