Module: Slack::Web::Auth
- Included in:
- Slack::Web
- Defined in:
- lib/slack/web/auth.rb
Overview
Module for the auth methods.
Constant Summary collapse
- SCOPE =
Endpoint scope
"auth"
Instance Method Summary collapse
-
#auth_test(params = {}) ⇒ Object
Checks authentication & identity.
Instance Method Details
#auth_test(params = {}) ⇒ Object
Checks authentication & identity.
17 18 19 20 |
# File 'lib/slack/web/auth.rb', line 17 def auth_test(params={}) response = @session.do_get "#{SCOPE}.test", params Slack::parse_response(response) end |