kycaid 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -2
- data/lib/kycaid/verification.rb +4 -3
- data/lib/kycaid/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1999bd4b60fb80929a0b45fe53360df63853a7ec4197adb6d1547452034e11f3
|
4
|
+
data.tar.gz: a14c29feb77760e76d99507d2cc7ff065c6234741e183a2455004dc483ae6318
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f7268f0a5cb09cb0c3aaa6a582bf0ba24660d45a241a9bcafa66e065a8d9c7c47b7ccb864bb3835b45891a3862d02c6dec405f31a70eebe9b748c6c96f55d6d
|
7
|
+
data.tar.gz: ef8b4e33822ebfccdb5b28600df1b635a4ab7ec211f0b7fee740fe0af31d0dba35094403d0e971114582c6552d65337f19a106028612993500c1bcac140480e9
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
kycaid (1.0.
|
4
|
+
kycaid (1.0.1)
|
5
5
|
faraday
|
6
6
|
json
|
7
7
|
|
@@ -15,8 +15,11 @@ GEM
|
|
15
15
|
safe_yaml (~> 1.0.0)
|
16
16
|
diff-lcs (1.3)
|
17
17
|
docile (1.3.2)
|
18
|
-
faraday (
|
18
|
+
faraday (1.3.0)
|
19
|
+
faraday-net_http (~> 1.0)
|
19
20
|
multipart-post (>= 1.2, < 3)
|
21
|
+
ruby2_keywords
|
22
|
+
faraday-net_http (1.0.1)
|
20
23
|
hashdiff (1.0.1)
|
21
24
|
json (2.3.0)
|
22
25
|
method_source (1.0.0)
|
@@ -39,6 +42,7 @@ GEM
|
|
39
42
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
43
|
rspec-support (~> 3.9.0)
|
41
44
|
rspec-support (3.9.2)
|
45
|
+
ruby2_keywords (0.0.4)
|
42
46
|
safe_yaml (1.0.5)
|
43
47
|
simplecov (0.17.1)
|
44
48
|
docile (~> 1.1)
|
data/lib/kycaid/verification.rb
CHANGED
@@ -7,12 +7,13 @@ module KYCAID
|
|
7
7
|
# * +:applicant_id+ - _required_ The applicant unique identificator that received in response of Applicant#create.
|
8
8
|
# * +:types+ - _required_ The verification types. Valid values are: DOCUMENT, FACIAL, ADDRESS, AML, FINANCIAL, VIDEO, COMPANY.
|
9
9
|
# * +:callback_url+ - _required_ URL on which the result will come.
|
10
|
+
# * +:form_id+ - _optional_ The form unique identificator. Used for inheritance of form configuration like ACR and email templates.
|
10
11
|
#
|
11
12
|
# See https://docs.kycaid.com/#create-a-verification for more info.
|
12
|
-
#
|
13
|
+
#
|
13
14
|
# Returns Response object, conatining +verification_id+.
|
14
15
|
def self.create(params)
|
15
|
-
protected_params = params.slice(:applicant_id, :types, :callback_url)
|
16
|
+
protected_params = params.slice(:applicant_id, :types, :callback_url, :form_id)
|
16
17
|
respond(post("/verifications", protected_params))
|
17
18
|
end
|
18
19
|
|
@@ -23,7 +24,7 @@ module KYCAID
|
|
23
24
|
# * +:status+ - Status of verification. Possible values: +unused+, +pending+, +completed+.
|
24
25
|
# * +:verified+ - Result of verification. Possible values: +true+ or +false+.
|
25
26
|
# * +:verifications+ - VerificationsList object.
|
26
|
-
#
|
27
|
+
#
|
27
28
|
# See https://docs.kycaid.com/#retrieve-a-verification for more info.
|
28
29
|
def self.fetch(verification_id)
|
29
30
|
respond(get("/verifications/#{verification_id}"))
|
data/lib/kycaid/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kycaid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Openware
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
|
-
rubygems_version: 3.0.3
|
187
|
+
rubygems_version: 3.0.3.1
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: kycaid.com ruby library.
|