lib/rb1drv/onedrive_item.rb
# TODO: API endpoint does not play well with remote files
#
# @return [String] api reference path of current object
API endpoint does not play well with remote files
API endpoint does not play well with remote files
def api_path
      if remote?
        "drives/#{@remote_drive_id}/items/#{@remote_id}"
      else
        "drive/items/#{@id}"
      end
    end
def api_path if remote? "drives/#{@remote_drive_id}/items/#{@remote_id}" else "drive/items/#{@id}" end end
TODO: API endpoint does not play well with remote files
TODO : API endpoint does not play well with remote files
api reference path of current object
api reference path of current object
String