persona_api 0.1.6 → 0.1.7

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: 3365bb039dfa2864780f8f54261ea2dea92d394a9328050b78bab7621a76984f
4
- data.tar.gz: c46c19b74478670148948453c5faf8cad81a7d27c528deebc9a788ab4b61dff5
3
+ metadata.gz: c7d308b88c311b3deeeb677d3b6a47678e57cee228f94c4c26cad6fe539ac294
4
+ data.tar.gz: d80c4955d35e0c64b4b8ceefae37a9c9f0e3665bf90bf0d963e1b6048ccdb14b
5
5
  SHA512:
6
- metadata.gz: 398ff5050ea4593c0542531cc2c75f523bbc4b5e5328728a4fed7a9938cd9b50533b654162ea13ecc67525b1d62e2e5441772b0e4f3e69d123cb0a04882f58ae
7
- data.tar.gz: 305d8e1af2b69ebd632acdefad1a146654b8d60e0f024f3853b4fe3d4bf61e18e1547646cd59de62412d2cf6e08f040bcceb4e9d58158b6de894e36b5053adca
6
+ metadata.gz: c16adba0eb78c7bd84d4cbcdcee671821b25f8e950835d3c418f9ecf5d449a32fe765837f180fb16ed75db2a6b5f4ae1b4dcb3b4fbc2a0db9f1632551265e7b3
7
+ data.tar.gz: 5c72a21cb1a404909ab91b44256d68085987a94dfc3e73569a401bf4cbeec1421005189cd373629090ee131138af1a4e8dfb05c8f7bc6d42d5fdd49de2bbb03e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ == [0.1.7] - 2022-07-16
2
+
3
+ * Update README.md
4
+ * Add Print requests to multiple endpoints
5
+
1
6
  == [0.1.6] - 2022-07-14
2
7
 
3
8
  * Update README.md
data/README.md CHANGED
@@ -106,6 +106,7 @@ client.files.download(file_id:, file_name:)
106
106
  client.inquiries.list
107
107
  client.inquiries.create({})
108
108
  client.inquiries.retrieve(inq_id: "id")
109
+ client.inquiries.print(inq_id: "id")
109
110
  client.inquiries.update(inq_id: "id", {})
110
111
  client.inquiries.redact(inq_id: "id")
111
112
  client.inquiries.add_tag(inq_id: "id", {})
@@ -139,6 +140,7 @@ client.lists.create_phone_number_list({})
139
140
  client.reports.list
140
141
  client.reports.create({})
141
142
  client.reports.retrieve(rep_id: "id")
143
+ client.reports.print(rep_id: "id")
142
144
  client.reports.redact(rep_id: "id")
143
145
  client.reports.add_tag(rep_id: "id", {})
144
146
  client.reports.remove_tag(rep_id: "id", {})
@@ -156,6 +158,7 @@ client.user_audit_logs.retrieve(ual_id: "id")
156
158
 
157
159
  ```ruby
158
160
  client.verifications.retrieve(ver_id: "id")
161
+ client.verifications.print(ver_id: "id")
159
162
  ```
160
163
 
161
164
  ## Development
@@ -22,6 +22,11 @@ module PersonaApi
22
22
  Collection.from_response get_request("inquiries", params: params), key: "data", type: Inquiry
23
23
  end
24
24
 
25
+ def print(inq_id:)
26
+ get_request("inquiries/#{inq_id}/print")
27
+ true
28
+ end
29
+
25
30
  def retrieve(inq_id:)
26
31
  Inquiry.new get_request("inquiries/#{inq_id}").body.dig("data")
27
32
  end
@@ -16,6 +16,11 @@ module PersonaApi
16
16
  Collection.from_response get_request("reports", params: params), key: "data", type: Report
17
17
  end
18
18
 
19
+ def print(rep_id:)
20
+ get_request("reports/#{rep_id}/print")
21
+ true
22
+ end
23
+
19
24
  def retrieve(rep_id:)
20
25
  Report.new get_request("reports/#{rep_id}").body.dig("data")
21
26
  end
@@ -1,5 +1,9 @@
1
1
  module PersonaApi
2
2
  class VerificationsResource < Resource
3
+ def print(ver_id:)
4
+ get_request("verifications/#{ver_id}/print")
5
+ end
6
+
3
7
  def retrieve(ver_id:)
4
8
  Verification.new get_request("verifications/#{ver_id}").body.dig("data")
5
9
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PersonaApi
4
- VERSION = "0.1.6"
4
+ VERSION = "0.1.7"
5
5
  end
Binary file
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.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Griffith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-14 00:00:00.000000000 Z
11
+ date: 2022-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -84,6 +84,7 @@ files:
84
84
  - lib/persona_api/resources/user_audit_logs.rb
85
85
  - lib/persona_api/resources/verifications.rb
86
86
  - lib/persona_api/version.rb
87
+ - persona_api-0.1.6.gem
87
88
  - sig/persona_api.rbs
88
89
  homepage: https://github.com/mattgriffith0/persona_api
89
90
  licenses: