groupdocs 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. data/CHANGELOG.md +6 -0
  2. data/examples/api-samples/README.md +1 -1
  3. data/examples/api-samples/public/css/style.css +2 -2
  4. data/examples/api-samples/public/docs/annotation-sample.html +57 -0
  5. data/examples/api-samples/public/docs/envelope-sample.html +32 -32
  6. data/examples/api-samples/public/docs/sample1.html +3 -3
  7. data/examples/api-samples/public/docs/sample10.html +25 -24
  8. data/examples/api-samples/public/docs/sample11.html +17 -17
  9. data/examples/api-samples/public/docs/sample12.html +4 -4
  10. data/examples/api-samples/public/docs/sample13.html +5 -5
  11. data/examples/api-samples/public/docs/sample14.html +5 -5
  12. data/examples/api-samples/public/docs/sample15.html +4 -4
  13. data/examples/api-samples/public/docs/sample16.html +3 -3
  14. data/examples/api-samples/public/docs/sample17.html +3 -3
  15. data/examples/api-samples/public/docs/sample18.html +129 -34
  16. data/examples/api-samples/public/docs/sample19.html +59 -0
  17. data/examples/api-samples/public/docs/sample2.html +5 -5
  18. data/examples/api-samples/public/docs/sample20.html +51 -0
  19. data/examples/api-samples/public/docs/sample21.html +66 -0
  20. data/examples/api-samples/public/docs/sample22.html +53 -0
  21. data/examples/api-samples/public/docs/sample3.html +4 -4
  22. data/examples/api-samples/public/docs/sample4.html +27 -16
  23. data/examples/api-samples/public/docs/sample5.html +29 -22
  24. data/examples/api-samples/public/docs/sample6.html +6 -6
  25. data/examples/api-samples/public/docs/sample7.html +8 -8
  26. data/examples/api-samples/public/docs/sample8.html +31 -23
  27. data/examples/api-samples/public/docs/sample9.html +26 -8
  28. data/examples/api-samples/public/templates/merge_feid_doc.docx +0 -0
  29. data/examples/api-samples/samples/annotation-sample.rb +22 -16
  30. data/examples/api-samples/samples/envelope-sample.rb +26 -25
  31. data/examples/api-samples/samples/sample1.rb +2 -2
  32. data/examples/api-samples/samples/sample10.rb +21 -20
  33. data/examples/api-samples/samples/sample11.rb +18 -18
  34. data/examples/api-samples/samples/sample12.rb +3 -3
  35. data/examples/api-samples/samples/sample13.rb +4 -4
  36. data/examples/api-samples/samples/sample14.rb +4 -4
  37. data/examples/api-samples/samples/sample15.rb +3 -3
  38. data/examples/api-samples/samples/sample16.rb +2 -2
  39. data/examples/api-samples/samples/sample17.rb +2 -2
  40. data/examples/api-samples/samples/sample18.rb +90 -106
  41. data/examples/api-samples/samples/sample19.rb +5 -5
  42. data/examples/api-samples/samples/sample2.rb +4 -4
  43. data/examples/api-samples/samples/sample20.rb +4 -4
  44. data/examples/api-samples/samples/sample21.rb +4 -4
  45. data/examples/api-samples/samples/sample22.rb +2 -2
  46. data/examples/api-samples/samples/sample23.rb +0 -0
  47. data/examples/api-samples/samples/sample24.rb +0 -0
  48. data/examples/api-samples/samples/sample25.rb +96 -0
  49. data/examples/api-samples/samples/sample3.rb +3 -3
  50. data/examples/api-samples/samples/sample4.rb +23 -12
  51. data/examples/api-samples/samples/sample5.rb +23 -16
  52. data/examples/api-samples/samples/sample6.rb +8 -8
  53. data/examples/api-samples/samples/sample7.rb +7 -7
  54. data/examples/api-samples/samples/sample8.rb +29 -21
  55. data/examples/api-samples/samples/sample9.rb +23 -5
  56. data/examples/api-samples/views/_others_samples.haml +57 -0
  57. data/examples/api-samples/views/annotation_sample.haml +30 -30
  58. data/examples/api-samples/views/envelope_sample.haml +31 -31
  59. data/examples/api-samples/views/index.haml +33 -25
  60. data/examples/api-samples/views/sample1.haml +22 -69
  61. data/examples/api-samples/views/sample10.haml +57 -73
  62. data/examples/api-samples/views/sample11.haml +31 -79
  63. data/examples/api-samples/views/sample12.haml +18 -66
  64. data/examples/api-samples/views/sample13.haml +21 -70
  65. data/examples/api-samples/views/sample14.haml +18 -67
  66. data/examples/api-samples/views/sample15.haml +15 -63
  67. data/examples/api-samples/views/sample16.haml +13 -61
  68. data/examples/api-samples/views/sample17.haml +19 -67
  69. data/examples/api-samples/views/sample18.haml +74 -159
  70. data/examples/api-samples/views/sample19.haml +25 -74
  71. data/examples/api-samples/views/sample2.haml +19 -66
  72. data/examples/api-samples/views/sample20.haml +19 -68
  73. data/examples/api-samples/views/sample21.haml +28 -76
  74. data/examples/api-samples/views/sample22.haml +29 -77
  75. data/examples/api-samples/views/sample23.haml +0 -0
  76. data/examples/api-samples/views/sample24.haml +0 -0
  77. data/examples/api-samples/views/sample25.haml +91 -0
  78. data/examples/api-samples/views/sample3.haml +20 -68
  79. data/examples/api-samples/views/sample4.haml +53 -68
  80. data/examples/api-samples/views/sample5.haml +54 -70
  81. data/examples/api-samples/views/sample6.haml +21 -69
  82. data/examples/api-samples/views/sample7.haml +19 -66
  83. data/examples/api-samples/views/sample8.haml +60 -75
  84. data/examples/api-samples/views/sample9.haml +54 -70
  85. data/examples/api-samples/web.rb +20 -0
  86. data/lib/groupdocs/api/request.rb +4 -2
  87. data/lib/groupdocs/version.rb +1 -1
  88. data/spec/groupdocs/api/request_spec.rb +10 -2
  89. metadata +18 -5
  90. data/examples/api-samples/app.rb +0 -15
@@ -1,102 +1,53 @@
1
- %h3{:style => "text-align:center;"}
2
- %a{:href => "/"} GroupDocs Ruby SDK Samples
1
+ %h3{:style => 'text-align:center;'}
2
+ %a{:href => '/'} GroupDocs Ruby SDK Samples
3
3
  \- Sample19
4
- .samplecontent{:style => "padding:10px;"}
4
+ .samplecontent{:style => 'padding:10px;'}
5
5
  %i This sample will show how to Compare documents using Ruby SDK
6
6
  %br/
7
7
  %br/
8
8
  %p
9
9
  You entered:
10
10
  %p
11
- UserId = #{(defined? userId) ? userId : ""}
11
+ UserId = #{(defined? userId) ? userId : ''}
12
12
  %p
13
- PrivateKey = #{(defined? privateKey) ? privateKey : ""}
13
+ PrivateKey = #{(defined? privateKey) ? privateKey : ''}
14
14
  %p
15
- Source File ID = #{(defined? sourceFileId) ? sourceFileId : ""}
15
+ Source File ID = #{(defined? sourceFileId) ? sourceFileId : ''}
16
16
  %p
17
- Target File ID = #{(defined? targetFileId) ? targetFileId : ""}
17
+ Target File ID = #{(defined? targetFileId) ? targetFileId : ''}
18
18
  %p
19
- Callback Url = #{(defined? callbackUrl) ? callbackUrl : ""}
19
+ Callback Url = #{(defined? callbackUrl) ? callbackUrl : ''}
20
20
  %p
21
- %font{:color => "red"} #{(defined? err) ? err : ""}
21
+ %font{:color => 'red'} #{(defined? err) ? err : ''}
22
22
  %br/
23
- #requestForm{:style => "padding:20px; border:1px solid black;"}
23
+ #requestForm{:style => 'padding:20px; border:1px solid black;'}
24
24
  %p Enter data for request and press "Make request" button
25
- %form{:action => "/sample19", :method => "post"}
26
- %label{:for => "client_id"} GroupDocs ClientID
25
+ %form{:action => '/sample19', :method => 'post'}
26
+ %label{:for => 'client_id'} GroupDocs ClientID
27
27
  %br/
28
- %input{:type=>"text", :name=>"client_id"}
28
+ %input{:type=>'text', :name=>'client_id'}
29
29
  %br/
30
- %label{:for => "private_key"} GroupDocs PrivateKey
30
+ %label{:for => 'private_key'} GroupDocs PrivateKey
31
31
  %br/
32
- %input{:type=>"text", :name=>"private_key"}
32
+ %input{:type=>'text', :name=>'private_key'}
33
33
  %br/
34
- %label{:for => "sourceFileId"} Source File ID
34
+ %label{:for => 'sourceFileId'} Source File ID
35
35
  %br/
36
- %input{:type=>"text", :name=>"sourceFileId"}
36
+ %input{:type=>'text', :name=>'sourceFileId'}
37
37
  %br/
38
- %label{:for => "targetFileId"} Target File ID
38
+ %label{:for => 'targetFileId'} Target File ID
39
39
  %br/
40
- %input{:type=>"text", :name=>"targetFileId"}
40
+ %input{:type=>'text', :name=>'targetFileId'}
41
41
  %br/
42
- %label{:for => "callbackUrl"} Callback Url
42
+ %label{:for => 'callbackUrl'} Callback Url
43
43
  %br/
44
- %input{:type=>"text", :name=>"callbackUrl"}
44
+ %input{:type=>'text', :name=>'callbackUrl'}
45
45
  %br/
46
- %input{:type => "submit", :value => "Make request"}/
46
+ %input{:type => 'submit', :value => 'Make request'}/
47
47
  %br/
48
- %div{:style => "padding:20px; border:1px solid black;"}
48
+ %div{:style => 'padding:20px; border:1px solid black;'}
49
49
  %p
50
50
  Result:
51
- #{(defined? iframe) ? iframe : ""}
51
+ #{(defined? iframe) ? iframe : ''}
52
52
 
53
-
54
- %div{:style => "padding:10px;"}
55
- Choose another one sample:
56
- %ul
57
- %li
58
- %a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
59
- %li
60
- %a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
61
- %li
62
- %a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
63
- %li
64
- %a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
65
- %li
66
- %a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
67
- %li
68
- %a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
69
- %li
70
- %a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
71
- %li
72
- %a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
73
- %li
74
- %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
75
- %li
76
- %a{:href => "/sample10"} Sample10 - How to share a document to other users
77
- %li
78
- %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
79
- %li
80
- %a{:href => "/sample12"}Sample12 - How to list all annotations from document
81
- %li
82
- %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
83
- %li
84
- %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
85
- %li
86
- %a{:href => "/sample15"}Sample15 - How to check the number of document's views
87
- %li
88
- %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
89
- %li
90
- %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
91
- %li
92
- %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
93
- %li
94
- %a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
95
- %li
96
- %a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
97
- %li
98
- %a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
99
- %li
100
- %a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
101
- %li
102
- %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
53
+ = partial :_others_samples
@@ -1,88 +1,41 @@
1
- %h3{:style => "text-align:center;"}
2
- %a{:href => "/"} GroupDocs Ruby SDK Samples
1
+ %h3{:style => 'text-align:center;'}
2
+ %a{:href => '/'} GroupDocs Ruby SDK Samples
3
3
  \- Sample2
4
- .samplecontent{:style => "padding:10px;"}
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
7
  %i You can find documentation for this sample
8
- %a{:href => "/docs/sample2.html"} here
8
+ %a{:href => '/docs/sample2.html'} here
9
9
  %br/
10
10
  %br/
11
11
  %p
12
12
  You entered:
13
13
  %p
14
- UserId = #{(defined? userId) ? userId : ""}
14
+ UserId = #{(defined? userId) ? userId : ''}
15
15
  %p
16
- PrivateKey = #{(defined? privateKey) ? privateKey : ""}
16
+ PrivateKey = #{(defined? privateKey) ? privateKey : ''}
17
17
  %p
18
- %font{:color => "red"} #{(defined? err) ? err : ""}
19
- #requestForm{:style => "padding:20px; border:1px solid black;"}
18
+ %font{:color => 'red'} #{(defined? err) ? err : ''}
19
+ #requestForm{:style => 'padding:20px; border:1px solid black;'}
20
20
  %p Enter data for request and press "Make request" button
21
- %form{:action => "/sample2", :enctype => "multipart/form-data", :method => "post"}
22
- %label{:for => "client_id"} GroupDocs ClientID
21
+ %form{:action => '/sample2', :enctype => 'multipart/form-data', :method => 'post'}
22
+ %label{:for => 'client_id'} GroupDocs ClientID
23
23
  %br/
24
- %input{:type=>"text", :name=>"client_id"}
24
+ %input{:type=>'text', :name=>'client_id'}
25
25
  %br/
26
- %label{:for => "private_key"} GroupDocs PrivateKey
26
+ %label{:for => 'private_key'} GroupDocs PrivateKey
27
27
  %br/
28
- %input{:type=>"text", :name=>"private_key"}
28
+ %input{:type=>'text', :name=>'private_key'}
29
29
  %br/
30
- %input{:type => "submit", :value => "Make Request"}/
31
- %div{:style => "padding:20px; border:1px solid black;"}
30
+ %input{:type => 'submit', :value => 'Make Request'}/
31
+ %div{:style => 'padding:20px; border:1px solid black;'}
32
32
  %p Results:
33
- %table{:style => "border:1px double black;"}
33
+ %table{:style => 'border:1px double black;'}
34
34
  %tr
35
35
  %th Field
36
36
  %th Value
37
37
  %tr
38
38
  %td Files list
39
- %td #{(defined? filelist) ? filelist : ""}
40
- %div{:style => "padding:10px;"}
41
- Choose another 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 => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
81
- %li
82
- %a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
83
- %li
84
- %a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
85
- %li
86
- %a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
87
- %li
88
- %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
39
+ %td #{(defined? filelist) ? filelist : ''}
40
+
41
+ = partial :_others_samples
@@ -1,89 +1,40 @@
1
- %h3{:style => "text-align:center;"}
2
- %a{:href => "/"} GroupDocs Ruby SDK Samples
1
+ %h3{:style => 'text-align:center;'}
2
+ %a{:href => '/'} GroupDocs Ruby SDK Samples
3
3
  \- Sample20
4
- .samplecontent{:style => "padding:10px;"}
4
+ .samplecontent{:style => 'padding:10px;'}
5
5
  %i This sample will show how to Get Compare Change list for document using Ruby SDK
6
6
  %br/
7
7
  %br/
8
8
  %p
9
9
  You entered:
10
10
  %p
11
- UserId = #{(defined? userId) ? userId : ""}
11
+ UserId = #{(defined? userId) ? userId : ''}
12
12
  %p
13
- PrivateKey = #{(defined? privateKey) ? privateKey : ""}
13
+ PrivateKey = #{(defined? privateKey) ? privateKey : ''}
14
14
  %p
15
- Result File ID = #{(defined? resultFileId) ? resultFileId : ""}
15
+ Result File ID = #{(defined? resultFileId) ? resultFileId : ''}
16
16
  %p
17
- %font{:color => "red"} #{(defined? err) ? err : ""}
17
+ %font{:color => 'red'} #{(defined? err) ? err : ''}
18
18
  %br/
19
- #requestForm{:style => "padding:20px; border:1px solid black;"}
19
+ #requestForm{:style => 'padding:20px; border:1px solid black;'}
20
20
  %p Enter data for request and press "Make request" button
21
- %form{:action => "/sample20", :method => "post"}
22
- %label{:for => "client_id"} GroupDocs ClientID
21
+ %form{:action => '/sample20', :method => 'post'}
22
+ %label{:for => 'client_id'} GroupDocs ClientID
23
23
  %br/
24
- %input{:type=>"text", :name=>"client_id"}
24
+ %input{:type=>'text', :name=>'client_id'}
25
25
  %br/
26
- %label{:for => "private_key"} GroupDocs PrivateKey
26
+ %label{:for => 'private_key'} GroupDocs PrivateKey
27
27
  %br/
28
- %input{:type=>"text", :name=>"private_key"}
28
+ %input{:type=>'text', :name=>'private_key'}
29
29
  %br/
30
- %label{:for => "resultFileId"} Compared FileId
30
+ %label{:for => 'resultFileId'} Compared FileId
31
31
  %br/
32
- %input{:type=>"text", :name=>"resultFileId"}
32
+ %input{:type=>'text', :name=>'resultFileId'}
33
33
  %br/
34
- %input{:type => "submit", :value => "Make request"}/
35
- %div{:style => "padding:20px; border:1px solid black;"}
34
+ %input{:type => 'submit', :value => 'Make request'}/
35
+ %div{:style => 'padding:20px; border:1px solid black;'}
36
36
  %p
37
37
  Results:
38
- #{(defined? result) ? result : ""}
38
+ #{(defined? result) ? result : ''}
39
39
 
40
-
41
- %div{:style => "padding:10px;"}
42
- Choose another one sample:
43
- %ul
44
- %li
45
- %a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
46
- %li
47
- %a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
48
- %li
49
- %a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
50
- %li
51
- %a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
52
- %li
53
- %a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
54
- %li
55
- %a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
56
- %li
57
- %a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
58
- %li
59
- %a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
60
- %li
61
- %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
62
- %li
63
- %a{:href => "/sample10"} Sample10 - How to share a document to other users
64
- %li
65
- %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
66
- %li
67
- %a{:href => "/sample12"}Sample12 - How to list all annotations from document
68
- %li
69
- %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
70
- %li
71
- %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
72
- %li
73
- %a{:href => "/sample15"}Sample15 - How to check the number of document's views
74
- %li
75
- %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
76
- %li
77
- %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
78
- %li
79
- %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
80
- %li
81
- %a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
82
- %li
83
- %a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
84
- %li
85
- %a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
86
- %li
87
- %a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
88
- %li
89
- %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
40
+ = partial :_others_samples
@@ -1,106 +1,58 @@
1
- %h3{:style => "text-align:center;"}
2
- %a{:href => "/"} GroupDocs Ruby SDK Samples
3
- \- Sample17
4
- .samplecontent{:style => "padding:10px;"}
1
+ %h3{:style => 'text-align:center;'}
2
+ %a{:href => '/'} GroupDocs Ruby SDK Samples
3
+ \- Sample21
4
+ .samplecontent{:style => 'padding:10px;'}
5
5
  %i This sample will show how to Create and Upload Envelop to GroupDocs account using Ruby SDK
6
6
  %br/
7
7
  %br/
8
8
  %p
9
9
  You entered:
10
10
  %p
11
- UserId = #{(defined? userId) ? userId : ""}
11
+ UserId = #{(defined? userId) ? userId : ''}
12
12
  %p
13
- PrivateKey = #{(defined? privateKey) ? privateKey : ""}
13
+ PrivateKey = #{(defined? privateKey) ? privateKey : ''}
14
14
  %p
15
- Email = #{(defined? email) ? email : ""}
15
+ Email = #{(defined? email) ? email : ''}
16
16
  %p
17
- Name = #{(defined? name) ? name : ""}
17
+ Name = #{(defined? name) ? name : ''}
18
18
  %p
19
- Last Name = #{(defined? lastName) ? lastName : ""}
19
+ Last Name = #{(defined? lastName) ? lastName : ''}
20
20
  %p
21
- %font{:color => "red"} #{(defined? err) ? err : ""}
21
+ %font{:color => 'red'} #{(defined? err) ? err : ''}
22
22
  %br/
23
- #requestForm{:style => "padding:20px; border:1px solid black;"}
23
+ #requestForm{:style => 'padding:20px; border:1px solid black;'}
24
24
  %p Enter data for request and press "Make request" button
25
- %form{:action => "/sample21", :enctype => "multipart/form-data", :method => "post"}
26
- %label{:for => "client_id"} GroupDocs ClientID
25
+ %form{:action => '/sample21', :enctype => 'multipart/form-data', :method => 'post'}
26
+ %label{:for => 'client_id'} GroupDocs ClientID
27
27
  %br/
28
- %input{:type=>"text", :name=>"client_id"}
28
+ %input{:type=>'text', :name=>'client_id'}
29
29
  %br/
30
- %label{:for => "private_key"} GroupDocs PrivateKey
30
+ %label{:for => 'private_key'} GroupDocs PrivateKey
31
31
  %br/
32
- %input{:type=>"text", :name=>"private_key"}
32
+ %input{:type=>'text', :name=>'private_key'}
33
33
  %br/
34
- %label{:for => "email"} Email
34
+ %label{:for => 'email'} Email
35
35
  %br/
36
- %input{:type=>"text", :name=>"email"}
36
+ %input{:type=>'text', :name=>'email'}
37
37
  %br/
38
- %label{:for => "name"} Name
38
+ %label{:for => 'name'} Name
39
39
  %br/
40
- %input{:type=>"text", :name=>"name"}
40
+ %input{:type=>'text', :name=>'name'}
41
41
  %br/
42
- %label{:for => "lastName"} Last Name
42
+ %label{:for => 'lastName'} Last Name
43
43
  %br/
44
- %input{:type=>"text", :name=>"lastName"}
44
+ %input{:type=>'text', :name=>'lastName'}
45
45
  %br/
46
- %label{:for => "file"} File
46
+ %label{:for => 'file'} File
47
47
  %br/
48
- %input{:name => "file", :type => "file"}/
48
+ %input{:name => 'file', :type => 'file'}/
49
49
  %br/
50
50
  %br/
51
- %input{:type => "submit", :value => "Make request"}/
52
- %div{:style => "padding:20px; border:1px solid black;"}
51
+ %input{:type => 'submit', :value => 'Make request'}/
52
+ %div{:style => 'padding:20px; border:1px solid black;'}
53
53
  %p
54
54
  Results:
55
55
  %br/
56
- #{(defined? iframe) ? iframe : ""}
56
+ #{(defined? iframe) ? iframe : ''}
57
57
 
58
- %div{:style => "padding:10px;"}
59
- Choose another one sample:
60
- %ul
61
- %li
62
- %a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
63
- %li
64
- %a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
65
- %li
66
- %a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
67
- %li
68
- %a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
69
- %li
70
- %a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
71
- %li
72
- %a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
73
- %li
74
- %a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
75
- %li
76
- %a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
77
- %li
78
- %a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
79
- %li
80
- %a{:href => "/sample10"} Sample10 - How to share a document to other users
81
- %li
82
- %a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
83
- %li
84
- %a{:href => "/sample12"}Sample12 - How to list all annotations from document
85
- %li
86
- %a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
87
- %li
88
- %a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
89
- %li
90
- %a{:href => "/sample15"}Sample15 - How to check the number of document's views
91
- %li
92
- %a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
93
- %li
94
- %a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
95
- %li
96
- %a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
97
- %li
98
- %a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
99
- %li
100
- %a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
101
- %li
102
- %a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
103
- %li
104
- %a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
105
- %li
106
- %a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
58
+ = partial :_others_samples