module Slack::Web::Api::Endpoints::Workflows

def workflows_stepCompleted(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/workflows/workflows.stepCompleted.json -
    See: https://api.slack.com/methods/workflows.stepCompleted -

Options Hash: (**options)
  • :outputs (object) --
  • :workflow_step_execute_id (string) --
def workflows_stepCompleted(options = {})
  raise ArgumentError, 'Required arguments :workflow_step_execute_id missing' if options[:workflow_step_execute_id].nil?
  post('workflows.stepCompleted', options)
end

def workflows_stepFailed(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/workflows/workflows.stepFailed.json -
    See: https://api.slack.com/methods/workflows.stepFailed -

Options Hash: (**options)
  • :workflow_step_execute_id (string) --
  • :error (object) --
def workflows_stepFailed(options = {})
  raise ArgumentError, 'Required arguments :error missing' if options[:error].nil?
  raise ArgumentError, 'Required arguments :workflow_step_execute_id missing' if options[:workflow_step_execute_id].nil?
  options = encode_options_as_json(options, %i[error])
  post('workflows.stepFailed', options)
end

def workflows_updateStep(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/workflows/workflows.updateStep.json -
    See: https://api.slack.com/methods/workflows.updateStep -

Options Hash: (**options)
  • :step_name (string) --
  • :step_image_url (string) --
  • :outputs (array) --
  • :inputs (object) --
  • :workflow_step_edit_id (string) --
def workflows_updateStep(options = {})
  raise ArgumentError, 'Required arguments :workflow_step_edit_id missing' if options[:workflow_step_edit_id].nil?
  options = encode_options_as_json(options, %i[inputs outputs])
  post('workflows.updateStep', options)
end