Sha256: 60c85b1b98db55c80ee63951a38629ee0a6163d4477accd34b466eb33439c743

Contents?: true

Size: 942 Bytes

Versions: 7

Compression:

Stored size: 942 Bytes

Contents

# This file was auto-generated by lib/tasks/web.rake

module Slack
  module Web
    module Api
      module Endpoints
        module Migration
          #
          # For Enterprise Grid workspaces, map local user IDs to global user IDs
          #
          # @option options [Object] :users
          #   A comma-separated list of user ids, up to 400 per request.
          # @option options [Object] :to_old
          #   Specify true to convert W global user IDs to workspace-specific U IDs. Defaults to false.
          # @see https://api.slack.com/methods/migration.exchange
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/migration/migration.exchange.json
          def migration_exchange(options = {})
            throw ArgumentError.new('Required arguments :users missing') if options[:users].nil?
            post('migration.exchange', options)
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.1 lib/slack/web/api/endpoints/migration.rb
slack-ruby-client-0.14.0 lib/slack/web/api/endpoints/migration.rb
slack-ruby-client-0.13.1 lib/slack/web/api/endpoints/migration.rb
slack-ruby-client-0.13.0 lib/slack/web/api/endpoints/migration.rb
slack-ruby-client-0.12.0 lib/slack/web/api/endpoints/migration.rb
slack-ruby-client-0.11.1 lib/slack/web/api/endpoints/migration.rb
slack-ruby-client-0.11.0 lib/slack/web/api/endpoints/migration.rb