Sha256: 1b7591b4f8174ec8c5d251ba06f4b788a7ff3a3c611e1d6a6cd65c08ad724085

Contents?: true

Size: 973 Bytes

Versions: 5

Compression:

Stored size: 973 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

module Slack
  module Web
    module Api
      module Endpoints
        module Apps
          #
          # Uninstalls your app from a workspace.
          #
          # @option options [string] :client_id
          #   Issued when you created your application.
          # @option options [string] :client_secret
          #   Issued when you created your application.
          # @see https://api.slack.com/methods/apps.uninstall
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/apps/apps.uninstall.json
          def apps_uninstall(options = {})
            raise ArgumentError, 'Required arguments :client_id missing' if options[:client_id].nil?
            raise ArgumentError, 'Required arguments :client_secret missing' if options[:client_secret].nil?
            post('apps.uninstall', options)
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 lib/slack/web/api/endpoints/apps.rb
slack-ruby-client-2.3.0 lib/slack/web/api/endpoints/apps.rb
slack-ruby-client-2.2.0 lib/slack/web/api/endpoints/apps.rb
slack-ruby-client-2.1.0 lib/slack/web/api/endpoints/apps.rb
slack-ruby-client-2.0.0 lib/slack/web/api/endpoints/apps.rb