module Slack::Endpoint::Discovery

Public Instance Methods

discovery_file_restore(options={}) click to toggle source

There is no documentation for this method.

@option options [Object] :file

Specify a file by providing its ID.

@see api.slack.com/methods/discovery.file.restore @see github.com/aki017/slack-api-docs/blob/master/methods/discovery.file.restore.md @see github.com/aki017/slack-api-docs/blob/master/methods/discovery.file.restore.json

# File lib/slack/endpoint/discovery.rb, line 14
def discovery_file_restore(options={})
  throw ArgumentError.new("Required arguments :file missing") if options[:file].nil?
  post("discovery.file.restore", options)
end
discovery_file_tombstone(options={}) click to toggle source

There is no documentation for this method.

@option options [Object] :file

Specify a file by providing its ID.

@see api.slack.com/methods/discovery.file.tombstone @see github.com/aki017/slack-api-docs/blob/master/methods/discovery.file.tombstone.md @see github.com/aki017/slack-api-docs/blob/master/methods/discovery.file.tombstone.json

# File lib/slack/endpoint/discovery.rb, line 27
def discovery_file_tombstone(options={})
  throw ArgumentError.new("Required arguments :file missing") if options[:file].nil?
  post("discovery.file.tombstone", options)
end