Sha256: 08eda4003e2a0608603d8255272aa3d226c5da1416a1689d20406f718fe4eb93

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 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 AdminWorkflowsPermissions
          #
          # Look up the permissions for a set of workflows
          #
          # @option options [array] :workflow_ids
          #   An array of workflow IDs to look up permissions for.
          # @option options [integer] :max_workflow_triggers
          #   Maximum number of triggers to fetch for each workflow when determining overall run permissions; max 1000.
          # @see https://api.slack.com/methods/admin.workflows.permissions.lookup
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.workflows.permissions/admin.workflows.permissions.lookup.json
          def admin_workflows_permissions_lookup(options = {})
            raise ArgumentError, 'Required arguments :workflow_ids missing' if options[:workflow_ids].nil?
            post('admin.workflows.permissions.lookup', options)
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 lib/slack/web/api/endpoints/admin_workflows_permissions.rb
slack-ruby-client-2.3.0 lib/slack/web/api/endpoints/admin_workflows_permissions.rb
slack-ruby-client-2.2.0 lib/slack/web/api/endpoints/admin_workflows_permissions.rb