fadada 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fadada/contract.rb +11 -0
- data/lib/fadada/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d20f8617998c409a22bfd9b26e29d5634257e4d8ef62a6791bf007bbf44a5187
|
4
|
+
data.tar.gz: 6070470fe1c94612693123b5d70ab593baa988af98e2e36c373b7efde0e451b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81c45502230d78bf72982ecffa1e0186293afe12da07ca8d45226b832ea6d14ada85a253df248159f3bcf62069a746dd360af1a1b098cbbb48df2d7ef45ccc7d
|
7
|
+
data.tar.gz: de6616ac80b9b81737bba28e7be218718682f61a29aec45165af54d8efbb42e9b8d144248e06bc0292b85b7741d5ec63043acd9b4e7ece91edba88312541f138
|
data/lib/fadada/contract.rb
CHANGED
@@ -102,6 +102,17 @@ module Fadada
|
|
102
102
|
Fadada::HttpClient.request(:get, 'downLoadContract.api', options)
|
103
103
|
end
|
104
104
|
|
105
|
+
# 合同撤销(风险很高,慎用,除非你知道自己在干啥)
|
106
|
+
# 合同编号不允许重复!当合同已经上传或生成成功,已经占用了某合同编号,
|
107
|
+
# 此时发现该合同内容存在错误,需要重新上传或生成,又需要用之前的合同编号。
|
108
|
+
# 这种情况,就可以通过此接口,释放之前的合同编号,达到再次使用这个编号的目的。
|
109
|
+
# 之前的合同如果已经签署,建议接入方在新的合同中增加条款,说明上一份合同无效;
|
110
|
+
# 如果没有签署,则不 需要其他操作。
|
111
|
+
def self.cancellation(contract_id)
|
112
|
+
options = { contract_id: contract_id }
|
113
|
+
Fadada::HttpClient.request(:get, 'cancellation_of_contract.api', options)
|
114
|
+
end
|
115
|
+
|
105
116
|
# 合同归档
|
106
117
|
# 接入平台更新合同签署状态为-签署完成,法大大将把合同所有相关操作记录进行归档存证。
|
107
118
|
# 归档后将不能再对文档再进行签署操作。
|
data/lib/fadada/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fadada
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wangrui
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -95,7 +95,7 @@ metadata:
|
|
95
95
|
homepage_uri: https://github.com/wangrui438/fadada
|
96
96
|
source_code_uri: https://github.com/wangrui438/fadada
|
97
97
|
changelog_uri: https://github.com/wangrui438/fadada/blob/master/CHANGELOG.md
|
98
|
-
post_install_message:
|
98
|
+
post_install_message:
|
99
99
|
rdoc_options: []
|
100
100
|
require_paths:
|
101
101
|
- lib
|
@@ -110,9 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
|
-
|
114
|
-
|
115
|
-
signing_key:
|
113
|
+
rubygems_version: 3.0.3
|
114
|
+
signing_key:
|
116
115
|
specification_version: 4
|
117
116
|
summary: 法大大实名认证电子合同
|
118
117
|
test_files: []
|