fadada 0.1.5 → 0.1.6
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 +3 -3
- data/lib/fadada/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 144f31582287bce62fb46b6c8486d61a23b0eaed9508a0d0be4d5b3bcbfd029e
|
4
|
+
data.tar.gz: 5c604b59f9f88a9ec77a460e370e25b4d97c44652240cedf56e2464d7582c862
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68b4edd11fac73ef6086b603b5d8005f6454847e64b236518b4052a94a66f1876e6b0f4ccbe776eff1173414251ed3cc7931ed38af393d0598f3609288329eef
|
7
|
+
data.tar.gz: e23f3f8661a159a5804c8fe8c9d19405736dd49b797e9ebe29352a422c821400b1929bf187da08401684d15726636de4c7c7ebf88966eac760fd56bce0c375ee
|
data/lib/fadada/contract.rb
CHANGED
@@ -54,7 +54,7 @@ module Fadada
|
|
54
54
|
}
|
55
55
|
_basic = %i(customer_id)
|
56
56
|
_md5 = %i(transaction_id)
|
57
|
-
_normal = %i(contract_id client_role doc_title position_type sign_keyword keyword_strategy signature_positions notify_url)
|
57
|
+
_normal = %i(contract_id signature_id client_role doc_title position_type sign_keyword keyword_strategy signature_positions notify_url)
|
58
58
|
options = _options.merge(params.slice(*(_basic + _md5 + _normal)))
|
59
59
|
digest_params = { _params: options.slice(*_basic), _md5_params: options.slice(*_md5) }
|
60
60
|
Fadada::HttpClient.request(:post, 'extsign_auto.api', options, digest_params)
|
@@ -68,7 +68,7 @@ module Fadada
|
|
68
68
|
def self.sign(params = {})
|
69
69
|
_basic = %i(customer_id)
|
70
70
|
_md5 = %i(transaction_id)
|
71
|
-
_normal = %i(contract_id doc_title sign_keyword keyword_strategy return_url notify_url customer_mobile customer_name customer_ident_no)
|
71
|
+
_normal = %i(contract_id signature_id doc_title sign_keyword keyword_strategy return_url notify_url customer_mobile customer_name customer_ident_no)
|
72
72
|
options = params.slice(*(_basic + _md5 + _normal))
|
73
73
|
digest_params = { _params: params.slice(*_basic), _md5_params: params.slice(*_md5) }
|
74
74
|
Fadada::HttpClient.request(:get, 'extsign.api', options, digest_params)
|
@@ -81,7 +81,7 @@ module Fadada
|
|
81
81
|
def self.batch_sign(params = {})
|
82
82
|
_basic = %i(customer_id outh_customer_id)
|
83
83
|
_md5 = %i(batch_id)
|
84
|
-
_normal = %i(sign_data batch_title mobile_sign_type return_url notify_url customer_mobile)
|
84
|
+
_normal = %i(sign_data signature_id batch_title mobile_sign_type return_url notify_url customer_mobile)
|
85
85
|
options = params.slice(*(_basic + _md5 + _normal))
|
86
86
|
digest_params = { _params: params.slice(*_basic), _md5_params: params.slice(*_md5) }
|
87
87
|
Fadada::HttpClient.request(:get, 'gotoBatchSemiautoSignPage.api', options, digest_params)
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wangrui
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|