Module: Slack::Endpoint::Api

Included in:
Slack::Endpoint
Defined in:
lib/slack/endpoint/api.rb

Instance Method Summary collapse

Instance Method Details

#api_test(options = {}) ⇒ Object

Checks API calling code.

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :error (Object)

    Error response to return

  • :foo (Object)

    example property to return

See Also:



16
17
18
# File 'lib/slack/endpoint/api.rb', line 16

def api_test(options={})
  post("api.test", options)
end