veriff 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/veriff/session.rb +6 -0
- data/lib/veriff/version.rb +1 -1
- data/lib/veriff/watchlist_screening.rb +10 -0
- data/lib/veriff/webhooks/watchlist_screening.rb +13 -0
- data/lib/veriff.rb +2 -1
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f196209ae91bba8e1e92f4a27c47e94503b0cd2b614669e9fd567a52b5ecfce4
|
4
|
+
data.tar.gz: 3ad548f1c8c4bbbd05567ab8bb9b7c0df9f3101e83713171bd2a2ecdba4fc85a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3b509f3a59513a0eb863a88fe054916b9c1f646b73f11e6895763d3aabbd3722fe509e05a85a2f38807ce2f77c0038913a1ae0555caf1c0ae9e61d70171abf5
|
7
|
+
data.tar.gz: 233b529e773e0cc7daa6a1fa081491404950e0c350f697141e669505f3bd24e4160dc532ae8925183178eecd0ac45f26af3c9e58812deb52bc9a3cc79d7db33d
|
data/Gemfile.lock
CHANGED
data/lib/veriff/session.rb
CHANGED
@@ -42,5 +42,11 @@ module Veriff
|
|
42
42
|
.parsed_response[:verification]
|
43
43
|
)
|
44
44
|
end
|
45
|
+
|
46
|
+
def watchlist_screening
|
47
|
+
@watchlist_screening ||= WatchlistScreening.new(
|
48
|
+
Veriff.get("/sessions/#{id}/watchlist-screening", signature: id).parsed_response[:data]
|
49
|
+
)
|
50
|
+
end
|
45
51
|
end
|
46
52
|
end
|
data/lib/veriff/version.rb
CHANGED
data/lib/veriff.rb
CHANGED
@@ -16,12 +16,13 @@ require 'veriff/person'
|
|
16
16
|
require 'veriff/session'
|
17
17
|
require 'veriff/timestamp'
|
18
18
|
require 'veriff/decision'
|
19
|
+
require 'veriff/watchlist_screening'
|
19
20
|
|
20
21
|
require 'veriff/webhook'
|
21
22
|
require 'veriff/webhooks/invalid_signature_error'
|
22
23
|
require 'veriff/webhooks/event'
|
23
24
|
require 'veriff/webhooks/decision'
|
24
|
-
|
25
|
+
require 'veriff/webhooks/watchlist_screening'
|
25
26
|
|
26
27
|
module Veriff
|
27
28
|
include HTTParty
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: veriff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wojtek Widenka
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -120,10 +120,12 @@ files:
|
|
120
120
|
- lib/veriff/session.rb
|
121
121
|
- lib/veriff/timestamp.rb
|
122
122
|
- lib/veriff/version.rb
|
123
|
+
- lib/veriff/watchlist_screening.rb
|
123
124
|
- lib/veriff/webhook.rb
|
124
125
|
- lib/veriff/webhooks/decision.rb
|
125
126
|
- lib/veriff/webhooks/event.rb
|
126
127
|
- lib/veriff/webhooks/invalid_signature_error.rb
|
128
|
+
- lib/veriff/webhooks/watchlist_screening.rb
|
127
129
|
- veriff.gemspec
|
128
130
|
homepage: https://github.com/BankToTheFuture/veriff_ruby
|
129
131
|
licenses:
|
@@ -131,7 +133,7 @@ licenses:
|
|
131
133
|
metadata:
|
132
134
|
homepage_uri: https://github.com/BankToTheFuture/veriff_ruby
|
133
135
|
source_code_uri: https://github.com/BankToTheFuture/veriff_ruby
|
134
|
-
post_install_message:
|
136
|
+
post_install_message:
|
135
137
|
rdoc_options: []
|
136
138
|
require_paths:
|
137
139
|
- lib
|
@@ -146,8 +148,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
148
|
- !ruby/object:Gem::Version
|
147
149
|
version: '0'
|
148
150
|
requirements: []
|
149
|
-
rubygems_version: 3.0.
|
150
|
-
signing_key:
|
151
|
+
rubygems_version: 3.0.9
|
152
|
+
signing_key:
|
151
153
|
specification_version: 4
|
152
154
|
summary: Simple wrapper on Verff.com API
|
153
155
|
test_files: []
|