straddle_pay 0.3.0 → 0.3.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 +10 -0
- data/lib/straddle_pay/resources/paykeys.rb +7 -6
- data/lib/straddle_pay/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5863916b6215c699b85729984385489b970100248096a83e6cca20c111415a5a
|
|
4
|
+
data.tar.gz: 04e17a25ac7e615b6cbc38bd0758b6b4bbca935fbb9c6a7f184c0608d05e9a5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 187689087d54c34b74b2b841625ef18cb85df09d4c545ee9f4e308373c025bc023f11b74abc2d180868053bb326b4a53a3a055e19e676d26a7d3ee0b01f3825e
|
|
7
|
+
data.tar.gz: b174855510564ed37be62e3e4ab74af57b559aa16e3029dea1520490478dad8cf21587b3d5138063eafc228067bff3e6839b42082240f08931f7e0cc588283fa
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [0.3.2] - 2026-07-12
|
|
2
|
+
|
|
3
|
+
### Changed
|
|
4
|
+
- Prepared the patch release.
|
|
5
|
+
|
|
6
|
+
## [0.3.1] - 2026-02-23
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
- `Paykeys#review` now requires `status:` keyword argument, matching `CustomerReviews#decision` pattern and the API contract
|
|
10
|
+
|
|
1
11
|
## [0.3.0] - 2026-02-20
|
|
2
12
|
|
|
3
13
|
### Changed
|
|
@@ -48,14 +48,15 @@ module StraddlePay
|
|
|
48
48
|
@client.put("v1/paykeys/#{id}/cancel", options, headers: headers)
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
# Submit a
|
|
51
|
+
# Submit a review decision for a paykey.
|
|
52
52
|
#
|
|
53
53
|
# @param id [String] paykey ID
|
|
54
|
-
# @
|
|
55
|
-
# @
|
|
56
|
-
def review(id, **options)
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
# @param status [String] decision status (e.g. "approved", "rejected")
|
|
55
|
+
# @return [Hash] updated paykey
|
|
56
|
+
def review(id, status:, **options)
|
|
57
|
+
payload = { status: status, **options }.compact
|
|
58
|
+
headers = extract_headers(payload)
|
|
59
|
+
@client.patch("v1/paykeys/#{id}/review", payload, headers: headers)
|
|
59
60
|
end
|
|
60
61
|
|
|
61
62
|
# Get the current review details for a paykey.
|
data/lib/straddle_pay/version.rb
CHANGED