sila-ruby 0.0.15 → 0.0.16

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: 4ba48cf032603ab9b9d18435fb5311486b95b010ad700f47098f2805fb5e7edd
4
- data.tar.gz: c1d75030329fdad7ad6363867ca8fe2164dad4ca7486f2c95255eaf85434e3b6
3
+ metadata.gz: b356a093959c5e9c60bc8d1cd0c4536afc0a3fbecd15d6e3cf526af8333a496a
4
+ data.tar.gz: 938b5cc5e5c44fbea6b90f62dd51723f03c325f02c31a1b30fd3ad84c6337d6a
5
5
  SHA512:
6
- metadata.gz: d0e49ee3d607d1116a559e0eebc3c080b942ade99ba3b7ceebc10931f16b2cc7d149c0e7f6696cfdb52eb364cd20a5f97866ecf5b164990e1935dc9390c05f98
7
- data.tar.gz: e0f7bc67fa1a929577a9ee0bb1b6a0a25786461b76f2b14b283622f43b917f74dc03d58f1a78a970a091cdec51c9cbf7afb1024d3caddbe51085c9c0129b4d47
6
+ metadata.gz: bded959695c50a8e5d8b7d9010c3e87742ab48626df45106146c9a498c098e44392ff85896315f27c4cd03ce2ae1d15a9d4d086fb49579c0a4655b72a0f3de77
7
+ data.tar.gz: 6769efd5297b1fc58d7b5f63cb18a77d515bc141b1c6ce8bbbf305677217af6ded229cd0dd38dd7a5f6d8b3471ae813b1bad70cefa4bbfb1f03f1cd91cf1b0f9
@@ -193,10 +193,17 @@ module SilaRuby
193
193
  # REQUEST-KYC --------------------------------
194
194
  # --------------------------------------------
195
195
  # Start KYC verification process on a registered user handle
196
- def self.request_kyc(handle, user_key)
196
+ def self.request_kyc(handle, params={}, user_key)
197
197
  header = { user_handle: handle }
198
198
  message = 'header_msg'
199
- sila_post_signed('request_kyc', header, message, nil, user_key)
199
+
200
+ # Optional params for requesting KYC
201
+ #
202
+ # params = {
203
+ # kyc_level: "NONE"
204
+ # }
205
+
206
+ sila_post_signed('request_kyc', header, message, params, user_key)
200
207
  end
201
208
 
202
209
  # --------------------------------------------
@@ -1,3 +1,3 @@
1
1
  module SilaRuby
2
- VERSION = '0.0.15'
2
+ VERSION = '0.0.16'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sila-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sequoir
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-10 00:00:00.000000000 Z
11
+ date: 2021-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable