Created
February 8, 2013 14:15
-
-
Save averjr/4739266 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%h3{:style => "text-align:center;"} | |
%a{:href => "/"} GroupDocs Ruby SDK Samples | |
\- Envelope sample | |
.samplecontent{:style => "padding:10px;"} | |
%i This sample will show how to use envelope and signature API using Ruby SDK | |
%br/ | |
%i You can find documentation for this sample | |
%a{:href => "/docs/envelope-sample.html"} here | |
%br/ | |
%br/ | |
%p | |
You entered: | |
%p | |
UserId = #{(defined? userId) ? userId : ""} | |
%p | |
PrivateKey = #{(defined? privateKey) ? privateKey : ""} | |
%p | |
%font{:color => "red"} #{(defined? err) ? err : ""} | |
%br/ | |
#requestForm{:style => "padding:20px; border:1px solid black;"} | |
%p Enter data for request and press "Make request" button | |
%form{:action => "/envelope-sample", :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/ | |
%label{:for => "file"} File | |
%br/ | |
%input{:name => "file", :type => "file"}/ | |
%br/ | |
%br/ | |
%input{:type => "submit", :value => "Upload"}/ | |
%div{:style => "padding:20px; border:1px solid black;"} | |
%p | |
Results: | |
#{(defined? iframe) ? iframe : ""} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment