Module: Slack::Web::Api::Endpoints::FunctionsWorkflowsSteps

Included in:
Slack::Web::Api::Endpoints
Defined in:
lib/slack/web/api/endpoints/functions_workflows_steps.rb

Instance Method Summary collapse

Instance Method Details

#functions_workflows_steps_list(options = {}) ⇒ Object

List the steps of a specific function of a workflow’s versions

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :function_id (string)

    The ID of the function to query.

  • :workflow (string)

    The workflow encoded ID or workflow reference.

  • :workflow_app_id (string)

    The app tied to the workflow reference.

  • :workflow_id (string)

    The workflow ID, starts with Wf*.

Raises:

  • (ArgumentError)

See Also:



22
23
24
25
# File 'lib/slack/web/api/endpoints/functions_workflows_steps.rb', line 22

def functions_workflows_steps_list(options = {})
  raise ArgumentError, 'Required arguments :function_id missing' if options[:function_id].nil?
  post('functions.workflows.steps.list', options)
end