This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Vuzit_Document_download_url
Vuzit::Document download_url function
Returns the URL for the file for downloading.
Signature
- static download_url(id, file_extension)
Parameters
- string id : ID of the document to delete.
- string file_extension : File extension of the document like “pdf”, “doc”, “ppt”, etc.
Usage Examples
Downloads the Word 2003 version of a document.
url = Vuzit::Document.download_url("DOCUMENT_ID", "doc")
puts '<a href="' + url + '">Link to the Word document</a>"
Downloads the PDF version of the same document.
url = Vuzit::Document.download_url("DOCUMENT_ID", "pdf")
puts '<a href="' + url + '">Link to the PDFdocument</a>"






