Sha256: 3cc5ca747adeb3fac940b5c86e1df01ebb7979b0e70bced1150c98293806b401
Contents?: true
Size: 1.79 KB
Versions: 7
Compression:
Stored size: 1.79 KB
Contents
%head %title Sample 15 - How to check the number of document's views %link(rel="stylesheet" type="text/css" href="/css/style.css") %script{:src=>'//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'} %body %h3{:style => 'text-align:center;'} %a{:href => '/'} GroupDocs Ruby SDK Samples %br/ Sample 15 - How to check the number of document's views .samplecontent{:style => 'padding:10px;'} %i This sample will show how to check the number of document's views using Ruby SDK %br/ %br/ %span.documentation %a{:href => '/docs/sample15.html'} Builtin documentation for this sample %br/ %br/ %p You entered: %p UserId = #{(defined? userId) ? userId : ''} %p PrivateKey = #{(defined? privateKey) ? privateKey : ''} %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 => '/sample-15-how-to-check-the-number-of-document\'s-views', :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 => 'basePath'} Base Path %span{:class => 'optional'} (Optional) %br/ %input{:type=>'text', :name=>'basePath'} %br/ %input{:type => 'submit', :value => 'Make request'}/ %div{:style => 'padding:20px; border:1px solid black;'} %p Result: %p Total document's views: - if defined? total %span{:style => "color: green"} #{total} = partial :_others_samples
Version data entries
7 entries across 7 versions & 1 rubygems