Module: Slack::Endpoint::Api
- Included in:
- Slack::Endpoint
- Defined in:
- lib/slack/endpoint/api.rb
Instance Method Summary collapse
-
#api_test(options = {}) ⇒ Object
This method helps you test your calling code.
Instance Method Details
#api_test(options = {}) ⇒ Object
This method helps you test your calling code.
16 17 18 19 |
# File 'lib/slack/endpoint/api.rb', line 16 def api_test(={}) [:attachments] = [:attachments].to_json if Hash === [:attachments] post("api.test", ) end |