Module: Slack::Endpoint::Auth
- Included in:
- Slack::Endpoint
- Defined in:
- lib/slack/endpoint/auth.rb
Instance Method Summary collapse
-
#auth_test(options = {}) ⇒ Object
This method checks authentication and tells you who you are.
Instance Method Details
#auth_test(options = {}) ⇒ Object
This method checks authentication and tells you who you are.
12 13 14 15 |
# File 'lib/slack/endpoint/auth.rb', line 12 def auth_test(={}) [:attachments] = [:attachments].to_json if Hash === [:attachments] post("auth.test", ) end |