# 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