persona_api 0.3.2 → 0.3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/persona_api/resource.rb +2 -2
- data/lib/persona_api/resources/selfie_verifications.rb +2 -2
- data/lib/persona_api/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: 1874e6ce8217558b0c86a0b4f23fc6f5b8ad692e2c27e1c6ad6c4990803bb6dd
|
|
4
|
+
data.tar.gz: e9c6725014de1eda031b7bfe6994e84b6316cb66a463bfa11a51baa505a95800
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1688e723be051354f2383297d14ffe2ff041f580caf612272bf4dc012a7b027a977284ed18beec33002b606f908a94c8c197dcb3a8b582a10177d0473810123
|
|
7
|
+
data.tar.gz: 99ea8cb34dae2bc82c070cef5f9b31f47c179c1ad81c244e18575fbb846613249b34fa80880324d799b93495f0c0d64ba20c1383b706145416a9a8cb90902e9c
|
data/CHANGELOG.md
CHANGED
data/lib/persona_api/resource.rb
CHANGED
|
@@ -14,11 +14,11 @@ module PersonaApi
|
|
|
14
14
|
handle_response client.connection.post(url, body, headers)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
def
|
|
17
|
+
def patch_request(url, body:, headers: {})
|
|
18
18
|
handle_response client.connection.patch(url, body, headers)
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
def
|
|
21
|
+
def put_request(url, body:, headers: {})
|
|
22
22
|
handle_response client.connection.put(url, body, headers)
|
|
23
23
|
end
|
|
24
24
|
|
|
@@ -10,8 +10,8 @@ module PersonaApi
|
|
|
10
10
|
SelfieVerification.new get_request("verification/selfies/#{ver_id}").body.dig("data")
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
-
def submit(ver_id
|
|
14
|
-
SelfieVerification.new post_request("verification/selfies/#{ver_id}/submit").body.dig("data")
|
|
13
|
+
def submit(ver_id:, **attributes)
|
|
14
|
+
SelfieVerification.new post_request("verification/selfies/#{ver_id}/submit", body: attributes).body.dig("data")
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
data/lib/persona_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: persona_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.2
|
|
4
|
+
version: 0.3.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Griffith
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-07-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
124
|
- !ruby/object:Gem::Version
|
|
125
125
|
version: '0'
|
|
126
126
|
requirements: []
|
|
127
|
-
rubygems_version: 3.4.
|
|
127
|
+
rubygems_version: 3.4.15
|
|
128
128
|
signing_key:
|
|
129
129
|
specification_version: 4
|
|
130
130
|
summary: An API wrapper for the public Persona API.
|