Skip to content

Commit

Permalink
Update API from slack-api-ref@0d3f0b6 (2023-07-21)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Jul 21, 2023
1 parent cdd322e commit 822f8f6
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 63 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
21 changes: 0 additions & 21 deletions bin/commands/rtm.rb

This file was deleted.

2 changes: 0 additions & 2 deletions lib/slack/web/api/endpoints.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
require_relative 'endpoints/pins'
require_relative 'endpoints/reactions'
require_relative 'endpoints/reminders'
require_relative 'endpoints/rtm'
require_relative 'endpoints/search'
require_relative 'endpoints/stars'
require_relative 'endpoints/team'
Expand Down Expand Up @@ -137,7 +136,6 @@ module Endpoints
include Pins
include Reactions
include Reminders
include Rtm
include Search
include Stars
include Team
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
25 changes: 0 additions & 25 deletions lib/slack/web/api/endpoints/rtm.rb

This file was deleted.

4 changes: 0 additions & 4 deletions lib/slack/web/api/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ class MetadataTooLarge < SlackError; end
class MethodDeprecated < SlackError; end
class MethodNotSupported < SlackError; end
class MethodNotSupportedForChannelType < SlackError; end
class MigrationInProgress < SlackError; end
class MissingArgs < SlackError; end
class MissingArgument < SlackError; end
class MissingChannel < SlackError; end
Expand Down Expand Up @@ -594,7 +593,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 @@ -975,7 +973,6 @@ class WorkflowsExportCsvNotEnabled < SlackError; end
'method_deprecated' => MethodDeprecated,
'method_not_supported' => MethodNotSupported,
'method_not_supported_for_channel_type' => MethodNotSupportedForChannelType,
'migration_in_progress' => MigrationInProgress,
'missing_args' => MissingArgs,
'missing_argument' => MissingArgument,
'missing_channel' => MissingChannel,
Expand Down Expand Up @@ -1199,7 +1196,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
8 changes: 0 additions & 8 deletions spec/slack/web/api/endpoints/rtm_spec.rb

This file was deleted.

0 comments on commit 822f8f6

Please sign in to comment.