Module: Slack::Web::Api::Endpoints::Api

Defined in:
lib/slack/web/api/endpoints/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 (string)

    Error response to return.

See Also:



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

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