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 +4 -4
- data/lib/sila-ruby/entities.rb +9 -2
- data/lib/sila-ruby/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: b356a093959c5e9c60bc8d1cd0c4536afc0a3fbecd15d6e3cf526af8333a496a
|
4
|
+
data.tar.gz: 938b5cc5e5c44fbea6b90f62dd51723f03c325f02c31a1b30fd3ad84c6337d6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bded959695c50a8e5d8b7d9010c3e87742ab48626df45106146c9a498c098e44392ff85896315f27c4cd03ce2ae1d15a9d4d086fb49579c0a4655b72a0f3de77
|
7
|
+
data.tar.gz: 6769efd5297b1fc58d7b5f63cb18a77d515bc141b1c6ce8bbbf305677217af6ded229cd0dd38dd7a5f6d8b3471ae813b1bad70cefa4bbfb1f03f1cd91cf1b0f9
|
data/lib/sila-ruby/entities.rb
CHANGED
@@ -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
|
-
|
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
|
# --------------------------------------------
|
data/lib/sila-ruby/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2021-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|