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

This method helps you test your 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:



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

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