Sha256: 221bea6978fa3639c9af0e31cc834bcefb95b97c63edb4ae2dc74eaf76fed525

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 KB

Contents

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

module Slack
  module Web
    module Api
      module Endpoints
        module AdminAppsConfig
          #
          # Look up the app config for connectors by their IDs
          #
          # @option options [array] :app_ids
          #   An array of app IDs to get app configs for.
          # @see https://api.slack.com/methods/admin.apps.config.lookup
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.apps.config/admin.apps.config.lookup.json
          def admin_apps_config_lookup(options = {})
            raise ArgumentError, 'Required arguments :app_ids missing' if options[:app_ids].nil?
            post('admin.apps.config.lookup', options)
          end

          #
          # Set the app config for a connector
          #
          # @option options [Object] :app_id
          #   The encoded app ID to set the app config for.
          # @option options [object] :domain_restrictions
          #   Domain restrictions for the app.
          # @option options [string] :workflow_auth_strategy
          #   The workflow auth permission.
          # @see https://api.slack.com/methods/admin.apps.config.set
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.apps.config/admin.apps.config.set.json
          def admin_apps_config_set(options = {})
            raise ArgumentError, 'Required arguments :app_id missing' if options[:app_id].nil?
            post('admin.apps.config.set', options)
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-client-2.2.0 lib/slack/web/api/endpoints/admin_apps_config.rb