groupdocs 1.2.8 → 1.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/examples/api-samples/README.md +17 -6
  2. data/examples/api-samples/app.rb +0 -2
  3. data/examples/api-samples/public/GroupDocs_Signature_Demo.pdf +0 -0
  4. data/examples/api-samples/public/docs/docco.css +192 -0
  5. data/examples/api-samples/public/docs/envelope-sample.html +132 -0
  6. data/examples/api-samples/public/docs/sample1.html +26 -0
  7. data/examples/api-samples/public/docs/sample10.html +49 -0
  8. data/examples/api-samples/public/docs/sample11.html +87 -0
  9. data/examples/api-samples/public/docs/sample12.html +40 -0
  10. data/examples/api-samples/public/docs/sample13.html +41 -0
  11. data/examples/api-samples/public/docs/sample14.html +30 -0
  12. data/examples/api-samples/public/docs/sample15.html +27 -0
  13. data/examples/api-samples/public/docs/sample16.html +25 -0
  14. data/examples/api-samples/public/docs/sample17.html +37 -0
  15. data/examples/api-samples/public/docs/sample18.html +62 -0
  16. data/examples/api-samples/public/docs/sample2.html +30 -0
  17. data/examples/api-samples/public/docs/sample3.html +34 -0
  18. data/examples/api-samples/public/docs/sample4.html +41 -0
  19. data/examples/api-samples/public/docs/sample5.html +56 -0
  20. data/examples/api-samples/public/docs/sample6.html +48 -0
  21. data/examples/api-samples/public/docs/sample7.html +43 -0
  22. data/examples/api-samples/public/docs/sample8.html +54 -0
  23. data/examples/api-samples/public/docs/sample9.html +31 -0
  24. data/examples/api-samples/samples/envelope-sample.rb +132 -0
  25. data/examples/api-samples/samples/sample1.rb +10 -2
  26. data/examples/api-samples/samples/sample10.rb +17 -5
  27. data/examples/api-samples/samples/sample11.rb +86 -0
  28. data/examples/api-samples/samples/sample12.rb +39 -0
  29. data/examples/api-samples/samples/sample13.rb +40 -0
  30. data/examples/api-samples/samples/sample14.rb +29 -0
  31. data/examples/api-samples/samples/sample15.rb +26 -0
  32. data/examples/api-samples/samples/sample16.rb +24 -0
  33. data/examples/api-samples/samples/sample17.rb +36 -0
  34. data/examples/api-samples/samples/sample18.rb +61 -0
  35. data/examples/api-samples/samples/sample2.rb +14 -4
  36. data/examples/api-samples/samples/sample3.rb +14 -4
  37. data/examples/api-samples/samples/sample4.rb +12 -3
  38. data/examples/api-samples/samples/sample5.rb +13 -2
  39. data/examples/api-samples/samples/sample6.rb +18 -6
  40. data/examples/api-samples/samples/sample7.rb +9 -0
  41. data/examples/api-samples/samples/sample8.rb +17 -4
  42. data/examples/api-samples/samples/sample9.rb +10 -2
  43. data/examples/api-samples/views/envelope_sample.haml +73 -0
  44. data/examples/api-samples/views/index.haml +18 -0
  45. data/examples/api-samples/views/sample1.haml +21 -0
  46. data/examples/api-samples/views/sample10.haml +21 -0
  47. data/examples/api-samples/views/sample11.haml +141 -0
  48. data/examples/api-samples/views/sample12.haml +94 -0
  49. data/examples/api-samples/views/sample13.haml +90 -0
  50. data/examples/api-samples/views/sample14.haml +86 -0
  51. data/examples/api-samples/views/sample15.haml +75 -0
  52. data/examples/api-samples/views/sample16.haml +68 -0
  53. data/examples/api-samples/views/sample17.haml +80 -0
  54. data/examples/api-samples/views/sample18.haml +87 -0
  55. data/examples/api-samples/views/sample2.haml +21 -0
  56. data/examples/api-samples/views/sample3.haml +23 -2
  57. data/examples/api-samples/views/sample4.haml +21 -0
  58. data/examples/api-samples/views/sample5.haml +21 -0
  59. data/examples/api-samples/views/sample6.haml +22 -1
  60. data/examples/api-samples/views/sample7.haml +21 -0
  61. data/examples/api-samples/views/sample8.haml +22 -1
  62. data/examples/api-samples/views/sample9.haml +21 -0
  63. data/lib/groupdocs/job.rb +5 -3
  64. data/lib/groupdocs/user.rb +33 -0
  65. data/lib/groupdocs/version.rb +1 -1
  66. data/spec/groupdocs/job_spec.rb +5 -0
  67. data/spec/groupdocs/user_spec.rb +22 -0
  68. data/spec/support/json/update_account.json +10 -0
  69. metadata +45 -4
@@ -0,0 +1,90 @@
1
+ %h3{:style => "text-align:center;"}
2
+ %a{:href => "/"} GroupDocs Ruby SDK Samples
3
+ \- Sample13
4
+ .samplecontent{:style => "padding:10px;"}
5
+ %i This sample will show how to add collaborator to doc with annotations using Ruby SDK
6
+ %br/
7
+ %br/
8
+ %p
9
+ You entered:
10
+ %p
11
+ UserId = #{(defined? userId) ? userId : ""}
12
+ %p
13
+ PrivateKey = #{(defined? privateKey) ? privateKey : ""}
14
+ %p
15
+ FileId = #{(defined? fileId) ? fileId : ""}
16
+ %p
17
+ Email = #{(defined? email) ? email : ""}
18
+ %p
19
+ %font{:color => "red"} #{(defined? err) ? err : ""}
20
+ %br/
21
+ #requestForm{:style => "padding:20px; border:1px solid black;"}
22
+ %p Enter data for request and press "Make request" button
23
+ %form{:action => "/sample13", :method => "post"}
24
+ %label{:for => "client_id"} GroupDocs ClientID
25
+ %br/
26
+ %input{:type=>"text", :name=>"client_id"}
27
+ %br/
28
+ %label{:for => "private_key"} GroupDocs PrivateKey
29
+ %br/
30
+ %input{:type=>"text", :name=>"private_key"}
31
+ %br/
32
+ %label{:for => "file_id"} GroupDocs FileID
33
+ %br/
34
+ %input{:type=>"text", :name=>"fileId"}
35
+ %br/
36
+ %label{:for => "email"} Collaborator Email
37
+ %br/
38
+ %input{:type=>"text", :name=>"email"}
39
+ %br/
40
+ %br/
41
+ %input{:type => "submit", :value => "Make request"}/
42
+ %div{:style => "padding:20px; border:1px solid black;"}
43
+ %p
44
+ Result:
45
+
46
+ - if defined? result.first
47
+ #{result.first.primary_email}
48
+
49
+
50
+ %div{:style => "padding:10px;"}
51
+ Choose another one sample:
52
+ %ul
53
+ %li
54
+ %a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
55
+ %li
56
+ %a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
57
+ %li
58
+ %a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
59
+ %li
60
+ %a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
61
+ %li
62
+ %a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
63
+ %li
64
+ %a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
65
+ %li
66
+ %a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
67
+ %li
68
+ %a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
69
+ %li
70
+ %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
71
+ %li
72
+ %a{:href => "/sample10"} Sample10 - How to share a document to other users
73
+ %li
74
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
75
+ %li
76
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
77
+ %li
78
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
79
+ %li
80
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
81
+ %li
82
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
83
+ %li
84
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
85
+ %li
86
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
87
+ %li
88
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
89
+ %li
90
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
@@ -0,0 +1,86 @@
1
+ %h3{:style => "text-align:center;"}
2
+ %a{:href => "/"} GroupDocs Ruby SDK Samples
3
+ \- Sample14
4
+ .samplecontent{:style => "padding:10px;"}
5
+ %i This sample will show how to check the list of shares for a folder using Ruby SDK
6
+ %br/
7
+ %br/
8
+ %p
9
+ You entered:
10
+ %p
11
+ UserId = #{(defined? userId) ? userId : ""}
12
+ %p
13
+ PrivateKey = #{(defined? privateKey) ? privateKey : ""}
14
+ %p
15
+ Folder = #{(defined? folder) ? folder : ""}
16
+ %p
17
+ %font{:color => "red"} #{(defined? err) ? err : ""}
18
+ %br/
19
+ #requestForm{:style => "padding:20px; border:1px solid black;"}
20
+ %p Enter data for request and press "Make request" button
21
+ %form{:action => "/sample14", :method => "post"}
22
+ %label{:for => "client_id"} GroupDocs ClientID
23
+ %br/
24
+ %input{:type=>"text", :name=>"client_id"}
25
+ %br/
26
+ %label{:for => "private_key"} GroupDocs PrivateKey
27
+ %br/
28
+ %input{:type=>"text", :name=>"private_key"}
29
+ %br/
30
+ %label{:for => "folder"} GroupDocs Folder
31
+ %br/
32
+ %input{:type=>"text", :name=>"folder"}
33
+ %br/
34
+ %input{:type => "submit", :value => "Make request"}/
35
+ %div{:style => "padding:20px; border:1px solid black;"}
36
+ %p
37
+ List of shares for a folder:
38
+ %br/
39
+ - if defined? shares.first
40
+ %br/
41
+ - shares.each do |user|
42
+ #{user.primary_email}
43
+ %br/
44
+
45
+
46
+ %div{:style => "padding:10px;"}
47
+ Choose another one sample:
48
+ %ul
49
+ %li
50
+ %a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
51
+ %li
52
+ %a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
53
+ %li
54
+ %a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
55
+ %li
56
+ %a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
57
+ %li
58
+ %a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
59
+ %li
60
+ %a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
61
+ %li
62
+ %a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
63
+ %li
64
+ %a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
65
+ %li
66
+ %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
67
+ %li
68
+ %a{:href => "/sample10"} Sample10 - How to share a document to other users
69
+ %li
70
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
71
+ %li
72
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
73
+ %li
74
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
75
+ %li
76
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
77
+ %li
78
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
79
+ %li
80
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
81
+ %li
82
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
83
+ %li
84
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
85
+ %li
86
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
@@ -0,0 +1,75 @@
1
+ %h3{:style => "text-align:center;"}
2
+ %a{:href => "/"} GroupDocs Ruby SDK Samples
3
+ \- Sample15
4
+ .samplecontent{:style => "padding:10px;"}
5
+ %i This sample will show how to check the number of document's views using Ruby SDK
6
+ %br/
7
+ %br/
8
+ %p
9
+ You entered:
10
+ %p
11
+ UserId = #{(defined? userId) ? userId : ""}
12
+ %p
13
+ PrivateKey = #{(defined? privateKey) ? privateKey : ""}
14
+ %p
15
+ %font{:color => "red"} #{(defined? err) ? err : ""}
16
+ %br/
17
+ #requestForm{:style => "padding:20px; border:1px solid black;"}
18
+ %p Enter data for request and press "Make request" button
19
+ %form{:action => "/sample15", :method => "post"}
20
+ %label{:for => "client_id"} GroupDocs ClientID
21
+ %br/
22
+ %input{:type=>"text", :name=>"client_id"}
23
+ %br/
24
+ %label{:for => "private_key"} GroupDocs PrivateKey
25
+ %br/
26
+ %input{:type=>"text", :name=>"private_key"}
27
+ %br/
28
+ %input{:type => "submit", :value => "Make request"}/
29
+ %div{:style => "padding:20px; border:1px solid black;"}
30
+ %p
31
+ Result:
32
+ - if defined? total
33
+ #{total}
34
+
35
+ %div{:style => "padding:10px;"}
36
+ Choose another one sample:
37
+ %ul
38
+ %li
39
+ %a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
40
+ %li
41
+ %a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
42
+ %li
43
+ %a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
44
+ %li
45
+ %a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
46
+ %li
47
+ %a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
48
+ %li
49
+ %a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
50
+ %li
51
+ %a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
52
+ %li
53
+ %a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
54
+ %li
55
+ %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
56
+ %li
57
+ %a{:href => "/sample10"} Sample10 - How to share a document to other users
58
+ %li
59
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
60
+ %li
61
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
62
+ %li
63
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
64
+ %li
65
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
66
+ %li
67
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
68
+ %li
69
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
70
+ %li
71
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
72
+ %li
73
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
74
+ %li
75
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
@@ -0,0 +1,68 @@
1
+ %h3{:style => "text-align:center;"}
2
+ %a{:href => "/"} GroupDocs Ruby SDK Samples
3
+ \- Sample16
4
+ .samplecontent{:style => "padding:10px;"}
5
+ %i This sample will show how to insert Assembly questionary into webpage using Ruby SDK
6
+ %br/
7
+ %br/
8
+ %p
9
+ You entered:
10
+ %p
11
+ FileId = #{(defined? fileId) ? fileId : ""}
12
+ %p
13
+ %font{:color => "red"} #{(defined? err) ? err : ""}
14
+ %br/
15
+ #requestForm{:style => "padding:20px; border:1px solid black;"}
16
+ %p Enter data for request and press "Make request" button
17
+ %form{:action => "/sample16", :method => "post"}
18
+ %label{:for => "fileId"} GroupDocs FileID
19
+ %br/
20
+ %input{:type=>"text", :name=>"fileId"}
21
+ %br/
22
+ %input{:type => "submit", :value => "Make request"}/
23
+ %div{:style => "padding:20px; border:1px solid black;"}
24
+ %p
25
+ Result:
26
+ #{(defined? iframe) ? iframe : ""}
27
+
28
+ %div{:style => "padding:10px;"}
29
+ Choose another one sample:
30
+ %ul
31
+ %li
32
+ %a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
33
+ %li
34
+ %a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
35
+ %li
36
+ %a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
37
+ %li
38
+ %a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
39
+ %li
40
+ %a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
41
+ %li
42
+ %a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
43
+ %li
44
+ %a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
45
+ %li
46
+ %a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
47
+ %li
48
+ %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
49
+ %li
50
+ %a{:href => "/sample10"} Sample10 - How to share a document to other users
51
+ %li
52
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
53
+ %li
54
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
55
+ %li
56
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
57
+ %li
58
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
59
+ %li
60
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
61
+ %li
62
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
63
+ %li
64
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
65
+ %li
66
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
67
+ %li
68
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
@@ -0,0 +1,80 @@
1
+ %h3{:style => "text-align:center;"}
2
+ %a{:href => "/"} GroupDocs Ruby SDK Samples
3
+ \- Sample17
4
+ .samplecontent{:style => "padding:10px;"}
5
+ %i This sample will show how to upload a file into the storage and compress it into zip archive using Ruby SDK
6
+ %br/
7
+ %br/
8
+ %p
9
+ You entered:
10
+ %p
11
+ UserId = #{(defined? userId) ? userId : ""}
12
+ %p
13
+ PrivateKey = #{(defined? privateKey) ? privateKey : ""}
14
+ %p
15
+ %font{:color => "red"} #{(defined? err) ? err : ""}
16
+ %br/
17
+ #requestForm{:style => "padding:20px; border:1px solid black;"}
18
+ %p Enter data for request and press "Make request" button
19
+ %form{:action => "/sample17", :enctype => "multipart/form-data", :method => "post"}
20
+ %label{:for => "client_id"} GroupDocs ClientID
21
+ %br/
22
+ %input{:type=>"text", :name=>"client_id"}
23
+ %br/
24
+ %label{:for => "private_key"} GroupDocs PrivateKey
25
+ %br/
26
+ %input{:type=>"text", :name=>"private_key"}
27
+ %br/
28
+ %label{:for => "file"} File
29
+ %br/
30
+ %input{:name => "file", :type => "file"}/
31
+ %br/
32
+ %br/
33
+ %input{:type => "submit", :value => "Upload"}/
34
+ %div{:style => "padding:20px; border:1px solid black;"}
35
+ %p
36
+ Results:
37
+ #{(defined? massage) ? massage : ""}
38
+ #{(defined? iframe) ? iframe : ""}
39
+
40
+ %div{:style => "padding:10px;"}
41
+ Choose anothe one sample:
42
+ %ul
43
+ %li
44
+ %a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
45
+ %li
46
+ %a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
47
+ %li
48
+ %a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
49
+ %li
50
+ %a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
51
+ %li
52
+ %a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
53
+ %li
54
+ %a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
55
+ %li
56
+ %a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
57
+ %li
58
+ %a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
59
+ %li
60
+ %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
61
+ %li
62
+ %a{:href => "/sample10"} Sample10 - How to share a document to other users
63
+ %li
64
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
65
+ %li
66
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
67
+ %li
68
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
69
+ %li
70
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
71
+ %li
72
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
73
+ %li
74
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
75
+ %li
76
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
77
+ %li
78
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
79
+ %li
80
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
@@ -0,0 +1,87 @@
1
+ %h3{:style => "text-align:center;"}
2
+ %a{:href => "/"} GroupDocs Ruby SDK Samples
3
+ \- Sample18
4
+ .samplecontent{:style => "padding:10px;"}
5
+ %i This sample will show how to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF using Ruby SDK
6
+ %br/
7
+ %br/
8
+ %p
9
+ You entered:
10
+ %p
11
+ UserId = #{(defined? userId) ? userId : ""}
12
+ %p
13
+ PrivateKey = #{(defined? privateKey) ? privateKey : ""}
14
+ %p
15
+ FileId = #{(defined? fileId) ? fileId : ""}
16
+ %p
17
+ %font{:color => "red"} #{(defined? err) ? err : ""}
18
+ %br/
19
+ #requestForm{:style => "padding:20px; border:1px solid black;"}
20
+ %p Enter data for request and press "Make request" button
21
+ %form{:action => "/sample18", :method => "post"}
22
+ %label{:for => "client_id"} GroupDocs ClientID
23
+ %br/
24
+ %input{:type=>"text", :name=>"client_id"}
25
+ %br/
26
+ %label{:for => "private_key"} GroupDocs PrivateKey
27
+ %br/
28
+ %input{:type=>"text", :name=>"private_key"}
29
+ %br/
30
+ %label{:for => "file_id"} GroupDocs FileID
31
+ %br/
32
+ %input{:type=>"text", :name=>"fileId"}
33
+ %br/
34
+ %input{:type => "submit", :value => "Make request"}/
35
+ %select{:name => "convert_type", "id" => "convert_type"}
36
+ %option{:value => "doc"}Doc
37
+ %option{:value => "pdf"}PDF
38
+ %option{:value => "docx"}Docx
39
+ %option{:value => "ppt"}PPT
40
+ %br/
41
+ %div{:style => "padding:20px; border:1px solid black;"}
42
+ %p
43
+ Results:
44
+ #{(defined? message) ? message : ""}
45
+
46
+
47
+ %div{:style => "padding:10px;"}
48
+ Choose another one sample:
49
+ %ul
50
+ %li
51
+ %a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
52
+ %li
53
+ %a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
54
+ %li
55
+ %a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
56
+ %li
57
+ %a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
58
+ %li
59
+ %a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
60
+ %li
61
+ %a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
62
+ %li
63
+ %a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
64
+ %li
65
+ %a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
66
+ %li
67
+ %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
68
+ %li
69
+ %a{:href => "/sample10"} Sample10 - How to share a document to other users
70
+ %li
71
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
72
+ %li
73
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
74
+ %li
75
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
76
+ %li
77
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
78
+ %li
79
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
80
+ %li
81
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
82
+ %li
83
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
84
+ %li
85
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
86
+ %li
87
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
@@ -4,6 +4,9 @@
4
4
  .samplecontent{:style => "padding:10px;"}
5
5
  %i This sample will show how to use StorageApi to list all user files from GroupDocs account using Ruby SDK
6
6
  %br/
7
+ %i You can find documentation for this sample
8
+ %a{:href => "/docs/sample2.html"} here
9
+ %br/
7
10
  %br/
8
11
  %p
9
12
  You entered:
@@ -57,3 +60,21 @@
57
60
  %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
58
61
  %li
59
62
  %a{:href => "/sample10"} Sample10 - How to share a document to other users
63
+ %li
64
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
65
+ %li
66
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
67
+ %li
68
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
69
+ %li
70
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
71
+ %li
72
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
73
+ %li
74
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
75
+ %li
76
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
77
+ %li
78
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
79
+ %li
80
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
@@ -1,8 +1,11 @@
1
1
  %h3{:style => "text-align:center;"}
2
- %a{:href => "/index.php"} GroupDocs PHP SDK Samples
2
+ %a{:href => "/"} GroupDocs Ruby SDK Samples
3
3
  \- Sample3
4
4
  .samplecontent{:style => "padding:10px;"}
5
- %i This sample will show how to use StorageApi to upload test file to GroupDocs account using PHP SDK
5
+ %i This sample will show how to use StorageApi to upload test file to GroupDocs account using Ruby SDK
6
+ %br/
7
+ %i You can find documentation for this sample
8
+ %a{:href => "/docs/sample3.html"} here
6
9
  %br/
7
10
  %br/
8
11
  %p
@@ -60,3 +63,21 @@
60
63
  %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
61
64
  %li
62
65
  %a{:href => "/sample10"} Sample10 - How to share a document to other users
66
+ %li
67
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
68
+ %li
69
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
70
+ %li
71
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
72
+ %li
73
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
74
+ %li
75
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
76
+ %li
77
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
78
+ %li
79
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
80
+ %li
81
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDFs
82
+ %li
83
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
@@ -4,6 +4,9 @@
4
4
  .samplecontent{:style => "padding:10px;"}
5
5
  %i This sample will show how to download particular file from GroupDocs account using Ruby SDK
6
6
  %br/
7
+ %i You can find documentation for this sample
8
+ %a{:href => "/docs/sample4.html"} here
9
+ %br/
7
10
  %br/
8
11
  %p
9
12
  You entered:
@@ -56,3 +59,21 @@
56
59
  %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
57
60
  %li
58
61
  %a{:href => "/sample10"} Sample10 - How to share a document to other users
62
+ %li
63
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
64
+ %li
65
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
66
+ %li
67
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
68
+ %li
69
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
70
+ %li
71
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
72
+ %li
73
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
74
+ %li
75
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
76
+ %li
77
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
78
+ %li
79
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
@@ -4,6 +4,9 @@
4
4
  .samplecontent{:style => "padding:10px;"}
5
5
  %i This sample will show how to Copy/Move particular file in your GroupDocs account using Ruby SDK
6
6
  %br/
7
+ %i You can find documentation for this sample
8
+ %a{:href => "/docs/sample5.html"} here
9
+ %br/
7
10
  %br/
8
11
  %p
9
12
  You entered:
@@ -60,3 +63,21 @@
60
63
  %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
61
64
  %li
62
65
  %a{:href => "/sample10"} Sample10 - How to share a document to other users
66
+ %li
67
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
68
+ %li
69
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
70
+ %li
71
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
72
+ %li
73
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
74
+ %li
75
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
76
+ %li
77
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
78
+ %li
79
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
80
+ %li
81
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
82
+ %li
83
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
@@ -4,6 +4,9 @@
4
4
  .samplecontent{:style => "padding:10px;"}
5
5
  %i This sample will show how to add provided signature to provided document using Ruby SDK. Signed file will be uploaded to GroupDocs account and its GUID will be returned and embed into webpage with GroupDocs Ebedded Viewer.
6
6
  %br/
7
+ %i You can find documentation for this sample
8
+ %a{:href => "/docs/sample6.html"} here
9
+ %br/
7
10
  %br/
8
11
  %p
9
12
  You entered:
@@ -64,4 +67,22 @@
64
67
  %li
65
68
  %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
66
69
  %li
67
- %a{:href => "/sample10"} Sample10 - How to share a document to other users
70
+ %a{:href => "/sample10"} Sample10 - How to share a document to other users
71
+ %li
72
+ %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
73
+ %li
74
+ %a{:href => "/sample12"}Sample12 - How to list all annotations from document
75
+ %li
76
+ %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
77
+ %li
78
+ %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
79
+ %li
80
+ %a{:href => "/sample15"}Sample15 - How to check the number of document's views
81
+ %li
82
+ %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
83
+ %li
84
+ %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
85
+ %li
86
+ %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
87
+ %li
88
+ %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API