Skip to content

linksign/linksign-ruby-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swagger_client

SwaggerClient - the Ruby gem for the 领签开发平台接口调试工具

\u6B64\u5DE5\u5177\u65E8\u5728\u5E2E\u52A9\u5F00\u53D1\u8005\u68C0\u6D4B\u8C03\u7528\u3010\u9886\u7B7E\u5F00\u53D1\u8005API\u3011\u65F6\u53D1\u9001\u7684\u8BF7\u6C42\u53C2\u6570\u662F\u5426\u6B63\u786E\uFF0C\u63D0\u4EA4\u76F8\u5173\u4FE1\u606F\u540E\u53EF\u83B7\u5F97\u670D\u52A1\u5668\u7684\u9A8C\u8BC1\u7ED3\u679C\u3002

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build date: 2016-05-31T11:39:01.751+08:00
  • Build package: class io.swagger.codegen.languages.RubyClientCodegen For more information, please visit https://www.linksign.cn

Installation

Build a gem

To build the Ruby code into a gem:

gem build swagger_client.gemspec

Then either install the gem locally:

gem install ./swagger_client-1.0.0.gem

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'swagger_client', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USR_ID/YOUR_GIT_REPO_ID, then add the following in the Gemfile:

gem 'swagger_client', :git => 'https://github.com/YOUR_GIT_USR_ID/YOUR_GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'swagger_client'

api_instance = SwaggerClient::DocumentApi.new

client_id = "client_id_example" # String | 

document_id = "document_id_example" # String | 


begin
  #\u83B7\u53D6\u6587\u4EF6\u7B7E\u7F72\u72B6\u6001\u3001URI
  result = api_instance.clients_client_id_documents_document_id_status_get(client_id, document_id)
  p result
rescue SwaggerClient::ApiError => e
  puts "Exception when calling DocumentApi->clients_client_id_documents_document_id_status_get: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.linksign.cn:443/v1

Class Method HTTP request Description
SwaggerClient::DocumentApi clients_client_id_documents_document_id_status_get GET /clients/{clientId}/documents/{documentId}/status \u83B7\u53D6\u6587\u4EF6\u7B7E\u7F72\u72B6\u6001\u3001URI
SwaggerClient::DocumentApi create_document POST /clients/{clientId}/documents \u7B7E\u7F72\u6587\u4EF6
SwaggerClient::DocumentApi get_document GET /clients/{clientId}/documents/{documentId} \u83B7\u53D6\u6587\u4EF6
SwaggerClient::SealApi create_seal POST /clients/{clientId}/seals \u521B\u5EFA\u4E00\u4E2A\u5370\u7AE0
SwaggerClient::SealApi get_seal GET /clients/{clientId}/seals/{sealId} \u83B7\u53D6\u4E00\u4E2A\u5370\u7AE0
SwaggerClient::SignatureApi create_signature POST /clients/{clientId}/signatures \u65B0\u5EFA\u4E00\u4E2A\u7B7E\u540D\u6536\u96C6\u8BF7\u6C42
SwaggerClient::SignatureApi get_signature GET /clients/{clientId}/signatures/{signatureId} \u83B7\u53D6\u7B7E\u7F72\u56FE\u7247

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published