Sha256: 73e854a9b42ebc1703b47b007722afa30d9a35b860206b1e79043577272761cb
Contents?: true
Size: 1.7 KB
Versions: 4
Compression:
Stored size: 1.7 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? userId) ? userId : ''} %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 => 'client_id'} GroupDocs ClientID %br/ %input{:type=>'text', :name=>'client_id'} %br/ %label{:for => 'private_key'} GroupDocs PrivateKey %br/ %input{:type=>'text', :name=>'private_key'} %br/ %label{:for => 'file_id'} GroupDocs FileID %br/ %input{:type=>'text', :name=>'fileId'} %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
4 entries across 4 versions & 1 rubygems