Module: Slack::Web::Api::Endpoints::FunctionsDistributionsPermissions
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/functions_distributions_permissions.rb
Instance Method Summary collapse
-
#functions_distributions_permissions_add(options = {}) ⇒ Object
Grant users access to a custom slack function if its permission_type is set to named_entities.
-
#functions_distributions_permissions_list(options = {}) ⇒ Object
List the access type of a custom slack function and include the users with access if its permission_type is set to named_entities.
-
#functions_distributions_permissions_remove(options = {}) ⇒ Object
Revoke user access to a custom slack function if permission_type set to named_entities.
-
#functions_distributions_permissions_set(options = {}) ⇒ Object
Set the access type of a custom slack function and define the users to be granted access if permission_type is set to named_entities.
Instance Method Details
#functions_distributions_permissions_add(options = {}) ⇒ Object
Grant users access to a custom slack function if its permission_type is set to named_entities
22 23 24 |
# File 'lib/slack/web/api/endpoints/functions_distributions_permissions.rb', line 22 def ( = {}) post('functions.distributions.permissions.add', ) end |
#functions_distributions_permissions_list(options = {}) ⇒ Object
List the access type of a custom slack function and include the users with access if its permission_type is set to named_entities
37 38 39 |
# File 'lib/slack/web/api/endpoints/functions_distributions_permissions.rb', line 37 def ( = {}) post('functions.distributions.permissions.list', ) end |
#functions_distributions_permissions_remove(options = {}) ⇒ Object
Revoke user access to a custom slack function if permission_type set to named_entities
54 55 56 |
# File 'lib/slack/web/api/endpoints/functions_distributions_permissions.rb', line 54 def ( = {}) post('functions.distributions.permissions.remove', ) end |
#functions_distributions_permissions_set(options = {}) ⇒ Object
Set the access type of a custom slack function and define the users to be granted access if permission_type is set to named_entities
73 74 75 |
# File 'lib/slack/web/api/endpoints/functions_distributions_permissions.rb', line 73 def ( = {}) post('functions.distributions.permissions.set', ) end |