Sha256: 79f319d7ebd8233975de922cd958911bb073b29917b0b38f64dec4dd71b62e7c

Contents?: true

Size: 1.96 KB

Versions: 7

Compression:

Stored size: 1.96 KB

Contents

%head
  %title Sample 2 - How to list files within GroupDocs Storage using the Storage API
  %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 2 - How to list files within GroupDocs Storage using the Storage API
  .samplecontent{:style => 'padding:10px;'}
    %i This sample will show how to use StorageApi to list all user files from GroupDocs account using Ruby SDK
    %br/
    %br/
    %span.documentation
      %a{:href => '/docs/sample02.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 : ''}
    #requestForm{:style => 'padding:20px; border:1px solid black;'}
      %p Enter data for request and press "Make request" button
      %form{:action => '/sample-2-how-to-list-files-within-groupdocs-storage-using-the-storage-api', :enctype => 'multipart/form-data', :method => 'post'}
        %label{:for => 'clientId'} GroupDocs ClientID
        %br/
        %input{:type=>'text', :name=>'clientId'}
        %br/
        %label{:for => 'private_key'} 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 Results:
      %table{:style => 'border:1px double black;'}
        %tr
          %th Field
          %th Value
        %tr
          %td Files list
          %td #{(defined? filelist) ? filelist : ''}

  = partial :_others_samples

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
groupdocs-2.2.0 examples/api-samples/views/sample02.haml
groupdocs-2.1.0 examples/api-samples/views/sample02.haml
groupdocs-2.0.0 examples/api-samples/views/sample02.haml
groupdocs-1.9.0 examples/api-samples/views/sample02.haml
groupdocs-1.8.1 examples/api-samples/views/sample02.haml
groupdocs-1.8.0 examples/api-samples/views/sample02.haml
groupdocs-1.7.0 examples/api-samples/views/sample02.haml