onfido 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +1 -1
- data/.travis.yml +3 -2
- data/CHANGELOG.md +6 -1
- data/README.md +1 -1
- data/lib/onfido/api.rb +34 -13
- data/lib/onfido/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9b8943db59807d0aca9c9e8caa5b5509878432d6
|
4
|
+
data.tar.gz: 0c12bf449f543db534205f3944ee69251408b025
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7eeae37b53e98a3d46e4e8a4fa4ec20ff0dc0d77fdf79be49f7c1d2a9f50466d61503a00db7fef9d3c7b39216095ab6e2340f4577d989b6e305c8167cbd7d0c
|
7
|
+
data.tar.gz: 64e81f488051a276972cb3476e540bb6fae1d2a9b19699a6512b7184b66fc7a808ed8ccb13f34cf767b12cfb434501084e08bb6bb18661454a8277f37724dc9d
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
+
## v0.8.4, 29 January 2018
|
2
|
+
|
3
|
+
- Replace use of `method_missing` with explicitly-defined accessors when accessing
|
4
|
+
resources from an `Onfido::API` instance (@hmac)
|
5
|
+
|
1
6
|
## v0.8.3, 16 January 2018
|
2
7
|
|
3
|
-
Add support for `Onfido::SdkToken` resource
|
8
|
+
- Add support for `Onfido::SdkToken` resource (@robotmay)
|
4
9
|
|
5
10
|
## v0.8.2, 21 April 2017
|
6
11
|
|
data/README.md
CHANGED
data/lib/onfido/api.rb
CHANGED
@@ -4,19 +4,40 @@ module Onfido
|
|
4
4
|
@api_key = options[:api_key]
|
5
5
|
end
|
6
6
|
|
7
|
-
def
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
7
|
+
def applicant
|
8
|
+
Onfido::Applicant.new(@api_key)
|
9
|
+
end
|
10
|
+
|
11
|
+
def check
|
12
|
+
Onfido::Check.new(@api_key)
|
13
|
+
end
|
14
|
+
|
15
|
+
def document
|
16
|
+
Onfido::Document.new(@api_key)
|
17
|
+
end
|
18
|
+
|
19
|
+
def live_photo
|
20
|
+
Onfido::LivePhoto.new(@api_key)
|
21
|
+
end
|
22
|
+
|
23
|
+
def report
|
24
|
+
Onfido::Report.new(@api_key)
|
25
|
+
end
|
26
|
+
|
27
|
+
def report_type_group
|
28
|
+
Onfido::ReportTypeGroup.new(@api_key)
|
29
|
+
end
|
30
|
+
|
31
|
+
def sdk_token
|
32
|
+
Onfido::SdkToken.new(@api_key)
|
33
|
+
end
|
34
|
+
|
35
|
+
def webhook
|
36
|
+
Onfido::Webhook.new(@api_key)
|
37
|
+
end
|
38
|
+
|
39
|
+
def address
|
40
|
+
Onfido::Address.new(@api_key)
|
20
41
|
end
|
21
42
|
end
|
22
43
|
end
|
data/lib/onfido/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onfido
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pericles Theodorou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-01-
|
12
|
+
date: 2018-01-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
232
|
version: '0'
|
233
233
|
requirements: []
|
234
234
|
rubyforge_project:
|
235
|
-
rubygems_version: 2.
|
235
|
+
rubygems_version: 2.6.13
|
236
236
|
signing_key:
|
237
237
|
specification_version: 4
|
238
238
|
summary: A wrapper for Onfido API
|