Sha256: 89782ae38d804c63a9b2bc206e6a349473cb9b8f9fb578f5752b268bafc3198d

Contents?: true

Size: 1.37 KB

Versions: 4

Compression:

Stored size: 1.37 KB

Contents

%h3{:style => 'text-align:center;'}
  %a{:href => '/'} GroupDocs Ruby SDK Samples
  \- Sample2
.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/sample2.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 => '/sample2', :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 Files list
          %td #{(defined? filelist) ? filelist : ''}

= partial :_others_samples

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
groupdocs-1.5.7 examples/api-samples/views/sample2.haml
groupdocs-1.5.6 examples/api-samples/views/sample2.haml
groupdocs-1.5.5 examples/api-samples/views/sample2.haml
groupdocs-1.5.4 examples/api-samples/views/sample2.haml