class Platforms::Yammer::Api::UploadedFiles

Uploaded file in Yammer @author Benjamin Elias @since 0.1.0

Public Instance Methods

delete(id, options={}) click to toggle source

Delete an uploaded file @param id [#to_s] ID of file to delete @param options [Hash] Options for the request @param headers [Hash] Additional headers to send with the request @return [Faraday::Response] the API response @see developer.yammer.com/docs/uploaded_filesid

# File lib/platforms/yammer/api/uploaded_files.rb, line 15
def delete id, options={}, headers={}
  @connection.delete "uploaded_files/#{id}.json", options, headers
end