Module: Slack::Web::Api::Endpoints::AdminWorkflowsTriggersTypesPermissions
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/admin_workflows_triggers_types_permissions.rb
Instance Method Summary collapse
-
#admin_workflows_triggers_types_permissions_lookup(options = {}) ⇒ Object
list the permissions for using each trigger type in workflow builder.
-
#admin_workflows_triggers_types_permissions_set(options = {}) ⇒ Object
Set the permissions for using a trigger type in workflow builder.
Instance Method Details
#admin_workflows_triggers_types_permissions_lookup(options = {}) ⇒ Object
list the permissions for using each trigger type in workflow builder
16 17 18 19 |
# File 'lib/slack/web/api/endpoints/admin_workflows_triggers_types_permissions.rb', line 16 def ( = {}) raise ArgumentError, 'Required arguments :trigger_type_ids missing' if [:trigger_type_ids].nil? post('admin.workflows.triggers.types.permissions.lookup', ) end |
#admin_workflows_triggers_types_permissions_set(options = {}) ⇒ Object
Set the permissions for using a trigger type in workflow builder
32 33 34 35 36 |
# File 'lib/slack/web/api/endpoints/admin_workflows_triggers_types_permissions.rb', line 32 def ( = {}) raise ArgumentError, 'Required arguments :id missing' if [:id].nil? raise ArgumentError, 'Required arguments :visibility missing' if [:visibility].nil? post('admin.workflows.triggers.types.permissions.set', ) end |