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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15a17e869952e2a54b65ac606df35c2f9cefa53008b4787c54182ada8fa53964
4
- data.tar.gz: 46a3dbfac1dcf2cac434b633abad0100f1585239ec9beacc21fe21640c0914d0
3
+ metadata.gz: 1874e6ce8217558b0c86a0b4f23fc6f5b8ad692e2c27e1c6ad6c4990803bb6dd
4
+ data.tar.gz: e9c6725014de1eda031b7bfe6994e84b6316cb66a463bfa11a51baa505a95800
5
5
  SHA512:
6
- metadata.gz: 451e17d631c364b04f405342589d9decfe973737f115e76ce98c1f745e0a3b5333cc5e0446a93a9523aa72e5e8bff604e97f0e4e97cf020688de669939e4dfa8
7
- data.tar.gz: 29fdc4b5aa91e21b67872fc261b99b6e992d5ac5939ad827e8089adda8ab6495840db423b64c8df103d3e1d77e453f6e7e249eb22a2cdc21bee756f59fa7cf60
6
+ metadata.gz: b1688e723be051354f2383297d14ffe2ff041f580caf612272bf4dc012a7b027a977284ed18beec33002b606f908a94c8c197dcb3a8b582a10177d0473810123
7
+ data.tar.gz: 99ea8cb34dae2bc82c070cef5f9b31f47c179c1ad81c244e18575fbb846613249b34fa80880324d799b93495f0c0d64ba20c1383b706145416a9a8cb90902e9c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ == [0.3.2.2] - 2023-07-18
2
+
3
+ * Patch/Put request bug fixes
4
+
5
+ == [0.3.2.1] - 2023-06-20
6
+
7
+ * Bug fixes!
8
+
1
9
  == [0.3.2] - 2023-06-30
2
10
 
3
11
  * Add Selfie Verification Endpoint
@@ -14,11 +14,11 @@ module PersonaApi
14
14
  handle_response client.connection.post(url, body, headers)
15
15
  end
16
16
 
17
- def patch(url, body:, headers: {})
17
+ def patch_request(url, body:, headers: {})
18
18
  handle_response client.connection.patch(url, body, headers)
19
19
  end
20
20
 
21
- def put(url, body:, headers: {})
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PersonaApi
4
- VERSION = "0.3.2"
4
+ VERSION = "0.3.2.2"
5
5
  end
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-06-30 00:00:00.000000000 Z
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.12
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.