Sha256: 90b131074b8e26992f165f31fcad8c49b37fa44b480588bb1a9e36f885057b9b
Contents?: true
Size: 695 Bytes
Versions: 14
Compression:
Stored size: 695 Bytes
Contents
module DropboxApi::Endpoints::Files class GetTemporaryLink < DropboxApi::Endpoints::Rpc Method = :post Path = "/2/files/get_temporary_link".freeze ResultType = DropboxApi::Results::GetTemporaryLinkResult ErrorType = DropboxApi::Errors::GetMetadataError # Get a temporary link to stream content of a file. This link will expire # in four hours and afterwards you will get 410 Gone. Content-Type of the # link is determined automatically by the file's mime type. # # @param path [String] The path to the file you want a temporary link to. add_endpoint :get_temporary_link do |path| perform_request({:path => path}) end end end
Version data entries
14 entries across 14 versions & 1 rubygems