Sha256: ba5f5d05a7ed9b81c371b9f5d2f1a2a2d765fd0bd2431f5b0bf8b1f06472bf72

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 KB

Contents

%h3{:style => 'text-align:center;'}
  %a{:href => '/'} GroupDocs Ruby SDK Samples
  \- Sample04
.samplecontent{:style => 'padding:10px;'}
  %i This sample will show how to download particular file from GroupDocs account using Ruby SDK
  %br/
  %br/
  %span.documentation
    %a{:href => '/docs/sample04.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 : ''}
  #requestForm{:style => 'padding:20px; border:1px solid black;'}
    %p Enter data for request and press "Download" button
    %form{:action => '/sample04', :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/

      %input{:type => 'submit', :value => 'Download'}/
    #{(defined? massage) ? massage : ''}
  %br/

= partial :_others_samples


Version data entries

3 entries across 3 versions & 1 rubygems

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