module Slack::Endpoint::Api
Public Instance Methods
api_test(options={})
click to toggle source
This method helps you test your calling code.
@option options [Object] :error
Error response to return
@option options [Object] :foo
example property to return
@see api.slack.com/methods/api.test @see github.com/aki017/slack-api-docs/blob/master/methods/api.test.md @see github.com/aki017/slack-api-docs/blob/master/methods/api.test.json
# File lib/slack/endpoint/api.rb, line 16 def api_test(options={}) options[:attachments] = options[:attachments].to_json if Hash === options[:attachments] post("api.test", options) end