Sha256: 63c2ea3b1c9aa0eed97f9c41ed34f1f0613a8457deba18627fca16cd1b2f9b3e

Contents?: true

Size: 713 Bytes

Versions: 1

Compression:

Stored size: 713 Bytes

Contents

# This file was auto-generated by lib/generators/tasks/generate.rb

module Slack
  module Endpoint
    module Discovery
      #
      # There is no documentation for this method.
      #
      # @option options [Object] :file
      #   Specify a file by providing its ID.
      # @see https://api.slack.com/methods/discovery.file
      # @see https://github.com/aki017/slack-api-docs/blob/master/methods/discovery.file.md
      # @see https://github.com/aki017/slack-api-docs/blob/master/methods/discovery.file.json
      def discovery_file(options={})
        throw ArgumentError.new("Required arguments :file missing") if options[:file].nil?
        post("discovery.file", options)
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-api-1.5.0 lib/slack/endpoint/discovery.rb