Module: Slack::Endpoint::Apps
- Included in:
- Slack::Endpoint
- Defined in:
- lib/slack/endpoint/apps.rb
Instance Method Summary collapse
-
#apps_permissions_info(options = {}) ⇒ Object
Returns list of permissions this app has on a team.
-
#apps_permissions_request(options = {}) ⇒ Object
Allows an app to request additional scopes.
Instance Method Details
#apps_permissions_info(options = {}) ⇒ Object
Returns list of permissions this app has on a team.
12 13 14 |
# File 'lib/slack/endpoint/apps.rb', line 12 def (={}) post("apps.permissions.info", ) end |
#apps_permissions_request(options = {}) ⇒ Object
Allows an app to request additional scopes
26 27 28 29 30 |
# File 'lib/slack/endpoint/apps.rb', line 26 def (={}) throw ArgumentError.new("Required arguments :scopes missing") if [:scopes].nil? throw ArgumentError.new("Required arguments :trigger_id missing") if [:trigger_id].nil? post("apps.permissions.request", ) end |