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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 144f31582287bce62fb46b6c8486d61a23b0eaed9508a0d0be4d5b3bcbfd029e
4
- data.tar.gz: 5c604b59f9f88a9ec77a460e370e25b4d97c44652240cedf56e2464d7582c862
3
+ metadata.gz: d20f8617998c409a22bfd9b26e29d5634257e4d8ef62a6791bf007bbf44a5187
4
+ data.tar.gz: 6070470fe1c94612693123b5d70ab593baa988af98e2e36c373b7efde0e451b3
5
5
  SHA512:
6
- metadata.gz: 68b4edd11fac73ef6086b603b5d8005f6454847e64b236518b4052a94a66f1876e6b0f4ccbe776eff1173414251ed3cc7931ed38af393d0598f3609288329eef
7
- data.tar.gz: e23f3f8661a159a5804c8fe8c9d19405736dd49b797e9ebe29352a422c821400b1929bf187da08401684d15726636de4c7c7ebf88966eac760fd56bce0c375ee
6
+ metadata.gz: 81c45502230d78bf72982ecffa1e0186293afe12da07ca8d45226b832ea6d14ada85a253df248159f3bcf62069a746dd360af1a1b098cbbb48df2d7ef45ccc7d
7
+ data.tar.gz: de6616ac80b9b81737bba28e7be218718682f61a29aec45165af54d8efbb42e9b8d144248e06bc0292b85b7741d5ec63043acd9b4e7ece91edba88312541f138
@@ -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
  # 归档后将不能再对文档再进行签署操作。
@@ -1,3 +1,3 @@
1
1
  module Fadada
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
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.6
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: 2020-03-05 00:00:00.000000000 Z
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
- rubyforge_project:
114
- rubygems_version: 2.7.9
115
- signing_key:
113
+ rubygems_version: 3.0.3
114
+ signing_key:
116
115
  specification_version: 4
117
116
  summary: 法大大实名认证电子合同
118
117
  test_files: []