fadada 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95de2a3553910d76031328a11efccbed5076c86effae254bf1e240f131a575e1
4
- data.tar.gz: 37dbcf429b10db85932a46a5e1932887ad47ec042f71aa4de8d7eba9a0545a25
3
+ metadata.gz: 144f31582287bce62fb46b6c8486d61a23b0eaed9508a0d0be4d5b3bcbfd029e
4
+ data.tar.gz: 5c604b59f9f88a9ec77a460e370e25b4d97c44652240cedf56e2464d7582c862
5
5
  SHA512:
6
- metadata.gz: 757908f854b73543ea2052d27fe782ce33d37cbf1504d2e3f71445b0bba529f9eb6ecf7a8a01450e1d03ef1b4e66d0195440f7db5c992e1cd5cb80c923e57bc6
7
- data.tar.gz: 4637d1427438de6d72af21e4be0b3ab965b097b19ec1e012ccddfadb658faf1ff11bdc104ed2872f148c25dfba23a0b47cb5ba76973426bb5bd687a6a4664ffb
6
+ metadata.gz: 68b4edd11fac73ef6086b603b5d8005f6454847e64b236518b4052a94a66f1876e6b0f4ccbe776eff1173414251ed3cc7931ed38af393d0598f3609288329eef
7
+ data.tar.gz: e23f3f8661a159a5804c8fe8c9d19405736dd49b797e9ebe29352a422c821400b1929bf187da08401684d15726636de4c7c7ebf88966eac760fd56bce0c375ee
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Fadada
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
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.5
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: 2019-07-17 00:00:00.000000000 Z
11
+ date: 2020-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler