Sha256: e307e8d5569d7d8065e8c4176c04bbcc9d8f303e0034a60aee6b25433ca9d2ca

Contents?: true

Size: 1.66 KB

Versions: 2

Compression:

Stored size: 1.66 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:
      #{(defined? message)? message : ''}
      #{(defined? iframe) ? iframe : ''}

= partial :_others_samples

Version data entries

2 entries across 2 versions & 1 rubygems

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