Sha256: 3f89e53f5aaa508486d3bf50785a65dcd5a6cf76c67b379bef23029fa3379388

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 KB

Contents

%h3{:style => 'text-align:center;'}
  %a{:href => '/'} GroupDocs Ruby SDK Samples
  \- Sample42
.samplecontent{:style => 'padding:10px;'}
  %span.description
    %i
    This sample will show how to download document with annotations using GroupDocs Ruby SDK.

  %br/
  %br/
  /
  %span.documentation
    %a{:href => '/docs/sample42.html'} Builtin documentation for this sample

  %br/
  %br/
  %p
    You entered:
  %p
    ClientID = #{(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 => '/sample42', :enctype => 'multipart/form-data', :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', :id=>'guid'} File ID (GUID)
      %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'}

      %br/
      %br/
      %br/
  %div{:style => 'padding:20px; border:1px solid black;'}
    %p
      Results:
      %br/
      #{(defined? message)? message : ''}
      #{(defined? iframe) ? iframe : ''}

= partial :_others_samples

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
groupdocs-1.5.8 examples/api-samples/views/sample42.haml