Sha256: 33a8a9d08744838a9c6a61a4133d5045fc6005c0ce3c40599e52a9e29dfdee52

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

%h3{:style => 'text-align:center;'}
  %a{:href => '/'} GroupDocs Ruby SDK Samples
  \- Sample7
.samplecontent{:style => 'padding:10px;'}
  %i This sample will show how to list thumbnails for documents in the GroupDocs account using Ruby SDK
  %br/
  %i You can find documentation for this sample 
  %a{:href => '/docs/sample7.html'} here
  %br/
  %br/
  %p
    You entered:
  %p
    UserId = #{(defined? userId) ? userId : ''}
  %p
    PrivateKey = #{(defined? privateKey) ? privateKey : ''}
  %p
    %font{:color => 'red'} #{(defined? err) ? err : ''}
  #requestForm{:style => 'padding:20px; border:1px solid black;'}
    %p Enter data for request and press "Make request" button
    %form{:action => '/sample7', :enctype => 'multipart/form-data', :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/
      %input{:type => 'submit', :value => 'Make Request'}/
    %div{:style => 'padding:20px; border:1px solid black;'}
      %p Results:
      %table{:style => 'border:1px double black;'}
        %tr
          %th Field
          %th Value
        %tr
          %td #{(defined? thumbnailList) ? thumbnailList : ''} #{(defined? file_List) ? file_List : ''}
%br/

= partial :_others_samples

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
groupdocs-1.5.3 examples/api-samples/views/sample7.haml
groupdocs-1.5.2 examples/api-samples/views/sample7.haml
groupdocs-1.5.1 examples/api-samples/views/sample7.haml