Module: Slack::Endpoint::Discovery
- Included in:
- Slack::Endpoint
- Defined in:
- lib/slack/endpoint/discovery.rb
Instance Method Summary collapse
-
#discovery_file(options = {}) ⇒ Object
There is no documentation for this method.
Instance Method Details
#discovery_file(options = {}) ⇒ Object
There is no documentation for this method.
14 15 16 17 18 |
# File 'lib/slack/endpoint/discovery.rb', line 14 def discovery_file(={}) throw ArgumentError.new("Required arguments :file missing") if [:file].nil? [:attachments] = [:attachments].to_json if Hash === [:attachments] post("discovery.file", ) end |