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

Included in:
Slack::Web::Api::Endpoints
Defined in:
lib/slack/web/api/endpoints/apps.rb

Instance Method Summary collapse

Instance Method Details

#apps_uninstall(options = {}) ⇒ Object

Uninstalls your app from a workspace.

Parameters:

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

    a customizable set of options

Options Hash (options):

  • :client_id (Object)

    Issued when you created your application.

  • :client_secret (Object)

    Issued when you created your application.

See Also:



18
19
20
21
22
# File 'lib/slack/web/api/endpoints/apps.rb', line 18

def apps_uninstall(options = {})
  throw ArgumentError.new('Required arguments :client_id missing') if options[:client_id].nil?
  throw ArgumentError.new('Required arguments :client_secret missing') if options[:client_secret].nil?
  post('apps.uninstall', options)
end