Sha256: f6e57f0e6cc60dbe3e0c6feb5629578ae2d09bd64bb61828ebea385b4457174d

Contents?: true

Size: 972 Bytes

Versions: 4

Compression:

Stored size: 972 Bytes

Contents

# frozen_string_literal: true
# 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

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-0.15.1 lib/slack/web/api/endpoints/migration.rb
slack-ruby-client-0.15.0 lib/slack/web/api/endpoints/migration.rb
slack-ruby-client-0.14.6 lib/slack/web/api/endpoints/migration.rb
slack-ruby-client-0.14.5 lib/slack/web/api/endpoints/migration.rb