module Slack::Endpoint::Auth

Public Instance Methods

auth_test(options={}) click to toggle source

This method checks authentication and tells you who you are.

@see api.slack.com/methods/auth.test @see github.com/aki017/slack-api-docs/blob/master/methods/auth.test.md @see github.com/aki017/slack-api-docs/blob/master/methods/auth.test.json

# File lib/slack/endpoint/auth.rb, line 12
def auth_test(options={})
  options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]
  post("auth.test", options)
end