Module: Slack::Web::Api::Endpoints::AdminWorkflowsCollaborators
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/admin_workflows_collaborators.rb
Instance Method Summary collapse
-
#admin_workflows_collaborators_add(options = {}) ⇒ Object
Add collaborators to workflows within the team or enterprise.
-
#admin_workflows_collaborators_remove(options = {}) ⇒ Object
Remove collaborators from workflows within the team or enterprise.
Instance Method Details
#admin_workflows_collaborators_add(options = {}) ⇒ Object
Add collaborators to workflows within the team or enterprise
18 19 20 21 22 |
# File 'lib/slack/web/api/endpoints/admin_workflows_collaborators.rb', line 18 def admin_workflows_collaborators_add( = {}) raise ArgumentError, 'Required arguments :collaborator_ids missing' if [:collaborator_ids].nil? raise ArgumentError, 'Required arguments :workflow_ids missing' if [:workflow_ids].nil? post('admin.workflows.collaborators.add', ) end |
#admin_workflows_collaborators_remove(options = {}) ⇒ Object
Remove collaborators from workflows within the team or enterprise
33 34 35 36 37 |
# File 'lib/slack/web/api/endpoints/admin_workflows_collaborators.rb', line 33 def admin_workflows_collaborators_remove( = {}) raise ArgumentError, 'Required arguments :collaborator_ids missing' if [:collaborator_ids].nil? raise ArgumentError, 'Required arguments :workflow_ids missing' if [:workflow_ids].nil? post('admin.workflows.collaborators.remove', ) end |