def finish_upload_session(cursor, path, body, options={})
      options[:client_modified] = Time.now.utc.iso8601
      options[:path] = path
      args = {cursor: cursor.to_h, commit: options}
      resp = upload_request('/files/upload_session/finish', body, args)
      FileMetadata.new(resp)
    end
def finish_upload_session(cursor, path, body, options={})
      options[:client_modified] = Time.now.utc.iso8601
      options[:path] = path
      args = {cursor: cursor.to_h, commit: options}
      resp = upload_request('/files/upload_session/finish', body, args)
      FileMetadata.new(resp)
    end
Finish an upload session and save the uploaded data to the given file path.

 @param [Dropbox::UploadSessionCursor] cursor
 @param [String] path
 @param [String, Enumerable] body
 @param [Hash] options
 @option (see #upload)
 @return [Dropbox::FileMetadata]