Skip to content

Commit

Permalink
Update API from slack-api-ref@0d3f0b6 (2023-07-25)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Jul 25, 2023
1 parent cdd322e commit 1a773d7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* [#481](https://github.com/slack-ruby-client/pulls/481): Update API from [slack-api-ref@7c22d0b](https://github.com/slack-ruby/slack-api-ref/commit/7c22d0b) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
* [#488](https://github.com/slack-ruby-client/pulls/488): Update API from [slack-api-ref@a45def2](https://github.com/slack-ruby/slack-api-ref/commit/a45def2) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
* [#490](https://github.com/slack-ruby/slack-ruby-client/pull/490): Add changelog uri to gemspec - [@MatheusRich](https://github.com/MatheusRich).
* [#489](https://github.com/slack-ruby-client/pulls/489): Update API from [slack-api-ref@0d3f0b6](https://github.com/slack-ruby/slack-api-ref/commit/0d3f0b6) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
* Your contribution here.

### 2.1.0 (2023/03/17)
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/admin_users.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class App
c.flag 'is_restricted', desc: 'Is this user a multi-channel guest user? (default: false).'
c.flag 'is_ultra_restricted', desc: 'Is this user a single channel guest user? (default: false).'
c.flag 'real_name', desc: 'Full name of the user.'
c.flag 'resend', desc: 'Allow this invite to be resent in the future if a user has not signed up yet. (default: false).'
c.flag 'resend', desc: 'Allow this invite to be resent in the future if a user has not signed up yet. Resending can only be done via the UI and has no expiration. (default: false).'
c.action do |_global_options, options, _args|
puts JSON.dump(@client.admin_users_invite(options))
end
Expand Down
2 changes: 1 addition & 1 deletion lib/slack/web/api/endpoints/admin_users.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def admin_users_assign(options = {})
# @option options [string] :real_name
# Full name of the user.
# @option options [boolean] :resend
# Allow this invite to be resent in the future if a user has not signed up yet. (default: false).
# Allow this invite to be resent in the future if a user has not signed up yet. Resending can only be done via the UI and has no expiration. (default: false).
# @see https://api.slack.com/methods/admin.users.invite
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.users/admin.users.invite.json
def admin_users_invite(options = {})
Expand Down
2 changes: 0 additions & 2 deletions lib/slack/web/api/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,6 @@ class UserIsRestricted < SlackError; end
class UserIsUltraRestricted < SlackError; end
class UserMustBeAdmin < SlackError; end
class UserMustBeInWorkspace < SlackError; end
class UserNotAMemberOfThisWorkspace < SlackError; end
class UserNotFound < SlackError; end
class UserNotInChannel < SlackError; end
class UserNotVisible < SlackError; end
Expand Down Expand Up @@ -1199,7 +1198,6 @@ class WorkflowsExportCsvNotEnabled < SlackError; end
'user_is_ultra_restricted' => UserIsUltraRestricted,
'user_must_be_admin' => UserMustBeAdmin,
'user_must_be_in_workspace' => UserMustBeInWorkspace,
'user_not_a_member_of_this_workspace' => UserNotAMemberOfThisWorkspace,
'user_not_found' => UserNotFound,
'user_not_in_channel' => UserNotInChannel,
'user_not_visible' => UserNotVisible,
Expand Down

0 comments on commit 1a773d7

Please sign in to comment.