Sha256: cfcfeff7aa26955744d5c11ab918d16a124f96fd39871ee11f251da9fe6f2c79

Contents?: true

Size: 1.92 KB

Versions: 3

Compression:

Stored size: 1.92 KB

Contents

%h3{:style => 'text-align:center;'}
  %a{:href => '/'}GroupDocs Ruby SDK Samples
  \- Sample36

.samplecontent{:style => 'padding:10px;'}
  %i How to download signed documents when envelope was signed using Ruby SDK
  %br/
  %br/
  %span.documentation
    %a{:href => '/docs/sample36.html'} Builtin documentation for this sample
  %br/
  %br/
  %p
    You entered:
  %p
    UserId = #{(defined? userId) ? userId : ''}
  %p
    PrivateKey = #{(defined? privateKey) ? privateKey : ''}
  %p
    Signed Envelope Guid = #{(defined? envelopeGuid) ? envelopeGuid : ''}
  %p
    %font{:color => 'red'} #{(defined? err) ? err : ''}
  %p
    Results:
    %br/
    %br/
    %p
      #{(defined? message) ? message : ''}
    %br/


    #requestForm{:style => 'padding:20px; border:1px solid black;'}
      %p Enter data for request and press "Make request" button
      %form{:action => '/sample36', :enctype => 'multipart/form-data', :method => 'post'}
        %label{:for => 'clientId'} GroupDocs Client ID
        %br/
        %input{:type=>'text', :name=>'clientId'}
        %br/
        %label{:for => 'privateKey'} GroupDocs Private Key
        %br/
        %input{:type=>'text', :name=>'privateKey'}
        %br/
        %label{:for => 'path'} Signed Envelop Guid
        %br/
        %input{:type=>'text', :name=>'envelopeGuid'}
        %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/
= partial :_others_samples

%script{:src=>'//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'}
:javascript
  function check() {
    $.get('/sample36/check', function(data) {
      $('#results_status').fadeOut("slow");
      $('#downloadframe').attr("src", "/sample36/downloads/" + data);
    }, 'text');
  }

Version data entries

3 entries across 3 versions & 1 rubygems

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