Sha256: b4f4290e873b70e0833a8df2a36b24f61277795f187ea433b81848537912c96d
Contents?: true
Size: 1.7 KB
Versions: 3
Compression:
Stored size: 1.7 KB
Contents
%h3{:style => 'text-align:center;'} %a{:href => '/'}GroupDocs Ruby SDK Samples \- Sample1 .samplecontent{:style => 'padding:10px;'} %i This sample will show how to use Signer object to be authorized at GroupDocs and how to get GroupDocs user infromation using Ruby SDK %br/ %i You can find documentation for this sample %a{:href => '/docs/sample1.html'} here %br/ %br/ %p You entered: %p UserId = #{(defined? userId) ? userId : ''} %p PrivateKey = #{(defined? privateKey) ? privateKey : ''} %p %font{:color => 'red'} #{(defined? err) ? err : ''} %div{:style => 'padding:20px; border:1px solid black;'} %p Results: %table{:style => 'border:1px double black;'} %tr %th Field %th Value %tr %td First Name %td #{(defined? user.first_name) ? user.first_name : ''} %tr %td Last Name %td #{(defined? user.last_name) ? user.last_name : ''} %tr %td Nick Name %td #{(defined? user.nickname) ? user.nickname : ''} %tr %td Primary Email %td #{(defined? user.primary_email) ? user.primary_email : ''} %br/ #requestForm{:style => 'padding:20px; border:1px solid black;'} %p Enter data for request and press "Make request" button %form{:action => '/sample1', :enctype => 'multipart/form-data', :method => 'post'} %label{:for => 'client_id'} GroupDocs Client ID %br/ %input{:type=>'text', :name=>'client_id'} %br/ %label{:for => 'private_key'} GroupDocs Private Key %br/ %input{:type=>'text', :name=>'private_key'} %br/ %input{:type => 'submit', :value => 'Make Request'} = partial :_others_samples
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
groupdocs-1.5.3 | examples/api-samples/views/sample1.haml |
groupdocs-1.5.2 | examples/api-samples/views/sample1.haml |
groupdocs-1.5.1 | examples/api-samples/views/sample1.haml |