Sha256: 318c52981a9c9d30ef1943a2fc013a651881a8c0280d2f61c15d762472408821
Contents?: true
Size: 776 Bytes
Versions: 12
Compression:
Stored size: 776 Bytes
Contents
module DropboxApi::Endpoints::Files class CopyReferenceGet < DropboxApi::Endpoints::Rpc Method = :post Path = "/2/files/copy_reference/get".freeze ResultType = DropboxApi::Results::GetCopyReferenceResult ErrorType = DropboxApi::Errors::GetCopyReferenceError # Get a copy reference to a file or folder. # This reference string can be used to save that file or folder # to another user's Dropbox by passing it to {Client#copy_reference_save}. # # @param path [String] The path to the file or folder you want to get a # copy reference to. # @return [DropboxApi::Results::GetCopyReferenceResult] add_endpoint :copy_reference_get do |path| perform_request({ :path => path }) end end end
Version data entries
12 entries across 12 versions & 1 rubygems