Module: Slack::Endpoint::Discovery

Included in:
Slack::Endpoint
Defined in:
lib/slack/endpoint/discovery.rb

Instance Method Summary collapse

Instance Method Details

#discovery_file_restore(options = {}) ⇒ Object

There is no documentation for this method.

Parameters:

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

    a customizable set of options

Options Hash (options):

  • :file (Object)

    Specify a file by providing its ID.

See Also:



14
15
16
17
# 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 = {}) ⇒ Object

There is no documentation for this method.

Parameters:

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

    a customizable set of options

Options Hash (options):

  • :file (Object)

    Specify a file by providing its ID.

See Also:



27
28
29
30
# 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