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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd80513b72f3b0cbf9d0d5bcaba6268cd42f931b5c2ce89f857ebd5e8b5530d6
4
- data.tar.gz: 0ae93f087dfd4b420283b92f3dbedf5ecd863667317f0e3e4ae15cc281d3ef89
3
+ metadata.gz: 1999bd4b60fb80929a0b45fe53360df63853a7ec4197adb6d1547452034e11f3
4
+ data.tar.gz: a14c29feb77760e76d99507d2cc7ff065c6234741e183a2455004dc483ae6318
5
5
  SHA512:
6
- metadata.gz: caf10193ed73811c95009017a064eac6cb9a94fc54a91a0ce0a3aeb0d7d5775db79c749514ecc11ec6b3a7dc6dba186c010b1c5e9e1139190f1cb69a9666b5fd
7
- data.tar.gz: 9b0218c7af7f4483c37fefae2c0e54c4645318fd741dcb1097e51ef4d37d5fa4d1c2cbd3ab71fdda5d971d43b51802c35f8c9ed1021ed66ec6862b3b0c4e6e6d
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.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 (0.17.3)
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)
@@ -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}"))
@@ -1,3 +1,3 @@
1
1
  module KYCAID
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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: 2020-06-15 00:00:00.000000000 Z
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.