Sha256: b63ee16106c00295b671f6926b184334c65b503319368e035e6ccba6fa03aebc
Contents?: true
Size: 1.82 KB
Versions: 3
Compression:
Stored size: 1.82 KB
Contents
%h3{:style => 'text-align:center;'} %a{:href => '/'} GroupDocs Ruby SDK Samples \- Sample12 .samplecontent{:style => 'padding:10px;'} %i This sample will show how to to list all annotations from document using Ruby SDK %br/ %br/ %span.documentation %a{:href => '/docs/sample12.html'} Builtin documentation for this sample %br/ %br/ %p You entered: %p UserId = #{(defined? clientId) ? clientId : ''} %p PrivateKey = #{(defined? privateKey) ? privateKey : ''} %p FileId = #{(defined? fileId) ? fileId : ''} %p %font{:color => 'red'} #{(defined? err) ? err : ''} %br/ #requestForm{:style => 'padding:20px; border:1px solid black;'} %p Enter data for request and press "Make request" button %form{:action => '/sample12', :method => 'post'} %label{:for => 'clientId'} GroupDocs ClientID %br/ %input{:type=>'text', :name=>'clientId'} %br/ %label{:for => 'privateKey'} GroupDocs PrivateKey %br/ %input{:type=>'text', :name=>'privateKey'} %br/ %label{:for => 'fileId'} GroupDocs FileID %br/ %input{:type=>'text', :name=>'fileId'} %br/ %label{:for => 'basePath'} Base Path %span{:class => 'optional'} (Optional) %br/ %input{:type=>'text', :name=>'basePath'} %br/ %br/ %input{:type => 'submit', :value => 'Make request'}/ %div{:style => 'padding:20px; border:1px solid black;'} %p Results: - if defined? annotations.first - annotations.each do |annotation| %div Access: #{annotation.access} %br/ Type: #{annotation.type} %br/ Replies: %ul - annotation.replies.each do |reply| %li #{reply.userName} : #{reply.text} = partial :_others_samples
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
groupdocs-1.6.0 | examples/api-samples/views/sample12.haml |
groupdocs-1.5.9 | examples/api-samples/views/sample12.haml |
groupdocs-1.5.8 | examples/api-samples/views/sample12.haml |