Sha256: 38e16c290bbfa52a96be236c9a594856d65d0fc55c02c9eefc261d4af00b7901

Contents?: true

Size: 981 Bytes

Versions: 6

Compression:

Stored size: 981 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 [Object] :client_id
          #   Issued when you created your application.
          # @option options [Object] :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 = {})
            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
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slack-ruby-client-0.17.0 lib/slack/web/api/endpoints/apps.rb
slack-ruby-client-0.16.0 lib/slack/web/api/endpoints/apps.rb
slack-ruby-client-0.15.1 lib/slack/web/api/endpoints/apps.rb
slack-ruby-client-0.15.0 lib/slack/web/api/endpoints/apps.rb
slack-ruby-client-0.14.6 lib/slack/web/api/endpoints/apps.rb
slack-ruby-client-0.14.5 lib/slack/web/api/endpoints/apps.rb