Sha256: bfc6e4395873233c3aee30760b52a681256103aacfd1ff1376b01ccfc765cf76
Contents?: true
Size: 564 Bytes
Versions: 14
Compression:
Stored size: 564 Bytes
Contents
module DropboxApi::Endpoints::Files class Restore < DropboxApi::Endpoints::Rpc Method = :post Path = "/2/files/restore".freeze ResultType = DropboxApi::Metadata::File ErrorType = DropboxApi::Errors::RestoreError # Restore a file to a specific revision # # @param path [String] The path to the file you want to restore. # @param rev [String] The revision to restore for the file. add_endpoint :restore do |path, rev| perform_request({ :path => path, :rev => rev }) end end end
Version data entries
14 entries across 14 versions & 1 rubygems