Module: Slack::Web::Api::Endpoints::Workflows
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/workflows.rb
Instance Method Summary collapse
-
#workflows_stepCompleted(options = {}) ⇒ Object
Indicate that an app’s step in a workflow completed execution.
-
#workflows_stepFailed(options = {}) ⇒ Object
Indicate that an app’s step in a workflow failed to execute.
-
#workflows_updateStep(options = {}) ⇒ Object
Update the configuration for a workflow step.
Instance Method Details
#workflows_stepCompleted(options = {}) ⇒ Object
Indicate that an app’s step in a workflow completed execution.
18 19 20 21 |
# File 'lib/slack/web/api/endpoints/workflows.rb', line 18 def workflows_stepCompleted( = {}) throw ArgumentError.new('Required arguments :workflow_step_execute_id missing') if [:workflow_step_execute_id].nil? post('workflows.stepCompleted', ) end |
#workflows_stepFailed(options = {}) ⇒ Object
Indicate that an app’s step in a workflow failed to execute.
32 33 34 35 36 |
# File 'lib/slack/web/api/endpoints/workflows.rb', line 32 def workflows_stepFailed( = {}) throw ArgumentError.new('Required arguments :error missing') if [:error].nil? throw ArgumentError.new('Required arguments :workflow_step_execute_id missing') if [:workflow_step_execute_id].nil? post('workflows.stepFailed', ) end |
#workflows_updateStep(options = {}) ⇒ Object
Update the configuration for a workflow step.
53 54 55 56 |
# File 'lib/slack/web/api/endpoints/workflows.rb', line 53 def workflows_updateStep( = {}) throw ArgumentError.new('Required arguments :workflow_step_edit_id missing') if [:workflow_step_edit_id].nil? post('workflows.updateStep', ) end |