Module: Slack::Web::Api::Endpoints::AdminApps
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/admin_apps.rb
Instance Method Summary collapse
-
#admin_apps_approve(options = {}) ⇒ Object
Approve an app for installation on a workspace.
-
#admin_apps_clearResolution(options = {}) ⇒ Object
Clear an app resolution.
-
#admin_apps_restrict(options = {}) ⇒ Object
Restrict an app for installation on a workspace.
Instance Method Details
#admin_apps_approve(options = {}) ⇒ Object
Approve an app for installation on a workspace.
22 23 24 |
# File 'lib/slack/web/api/endpoints/admin_apps.rb', line 22 def admin_apps_approve( = {}) post('admin.apps.approve', ) end |
#admin_apps_clearResolution(options = {}) ⇒ Object
Clear an app resolution
37 38 39 40 |
# File 'lib/slack/web/api/endpoints/admin_apps.rb', line 37 def admin_apps_clearResolution( = {}) throw ArgumentError.new('Required arguments :app_id missing') if [:app_id].nil? post('admin.apps.clearResolution', ) end |
#admin_apps_restrict(options = {}) ⇒ Object
Restrict an app for installation on a workspace.
55 56 57 |
# File 'lib/slack/web/api/endpoints/admin_apps.rb', line 55 def admin_apps_restrict( = {}) post('admin.apps.restrict', ) end |