Module: Slack::Web::Api
- Included in:
- Slack::Web
- Defined in:
- lib/slack/web/api.rb
Overview
Module for the api methods.
Constant Summary collapse
- SCOPE =
Endpoint scope
'api'
Instance Method Summary collapse
-
#api_test(params = {}) ⇒ Object
Checks API calling code.
Instance Method Details
#api_test(params = {}) ⇒ Object
Checks API calling code.
21 22 23 24 |
# File 'lib/slack/web/api.rb', line 21 def api_test(params = {}) response = @session.do_post "#{SCOPE}.test", params Slack.parse_response(response) end |