mangopay 3.41.0 → 3.41.1
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 +4 -0
- data/lib/mangopay/client.rb +2 -0
- data/lib/mangopay/version.rb +1 -1
- data/lib/mangopay.rb +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b9013971a3b6fe617300168a55fcf6cd0a970463786c857d102e1dc930ee173
|
4
|
+
data.tar.gz: 62c67f789d9d1831d81bdf3a9940d340cd92be58a9b8f1ba451f48ea06f362c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a432296d798507df1115fcf3c51265e4b8be9b24fa15314116fd0e12514dbaf537c4d6020907cd0eb080d6694ef2d7820b584aa5c790cea091a43ab2956a4dff
|
7
|
+
data.tar.gz: cd818297767715b6dc51a5ad5a24d2b3a93809cef3ead895d8b4a260e88da6326e0960d1009a256955767a4fc25b89d552cbd57d493e08a294d014ee64190e5e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## [3.41.1] - 2025-10-10
|
2
|
+
### Added
|
3
|
+
- Configuration for `after_request_proc` to be able to check rate limits post-request (#301 - thank you @matteeyah and @robertfall for the contribution 🙏)
|
4
|
+
|
1
5
|
## [3.41.0] - 2025-10-01
|
2
6
|
### Added
|
3
7
|
- Support for the [POST Cancel an Intent](https://docs.mangopay.com/api-reference/intents/cancel-intent) endpoint for [Echo](https://docs.mangopay.com/guides/echo), Mangopay's solution for platforms working with another third-party PSP for funds acquisition (#435)
|
data/lib/mangopay/client.rb
CHANGED
@@ -83,6 +83,8 @@ module MangoPay
|
|
83
83
|
MangoPay.request(method, path, params)
|
84
84
|
end
|
85
85
|
|
86
|
+
# Create a Bank Wire PayIn to the Repudiation Wallet
|
87
|
+
# see https://docs.mangopay.com/api-reference/dispute-settlement/create-bank-wire-payin-to-repudiation-wallet
|
86
88
|
def create_bank_wire_direct_pay_in(params, idempotency_key = nil)
|
87
89
|
MangoPay.request(:post, url() + "/payins/bankwire/direct", params, {}, idempotency_key)
|
88
90
|
end
|
data/lib/mangopay/version.rb
CHANGED
data/lib/mangopay.rb
CHANGED
@@ -65,7 +65,8 @@ module MangoPay
|
|
65
65
|
:client_id, :client_apiKey,
|
66
66
|
:temp_dir, :log_file, :log_trace_headers, :http_timeout,
|
67
67
|
:http_max_retries, :http_open_timeout,
|
68
|
-
:logger, :use_ssl, :uk_header_flag
|
68
|
+
:logger, :use_ssl, :uk_header_flag,
|
69
|
+
:after_request_proc
|
69
70
|
|
70
71
|
def apply_configuration
|
71
72
|
MangoPay.configure do |config|
|
@@ -80,6 +81,7 @@ module MangoPay
|
|
80
81
|
config.use_ssl = @use_ssl
|
81
82
|
config.logger = @logger
|
82
83
|
config.uk_header_flag = @uk_header_flag
|
84
|
+
config.after_request_proc = @after_request_proc
|
83
85
|
end
|
84
86
|
end
|
85
87
|
|
@@ -110,7 +112,7 @@ module MangoPay
|
|
110
112
|
|
111
113
|
true
|
112
114
|
end
|
113
|
-
|
115
|
+
|
114
116
|
def log_trace_headers
|
115
117
|
@log_trace_headers || false
|
116
118
|
end
|
@@ -266,6 +268,8 @@ module MangoPay
|
|
266
268
|
}
|
267
269
|
end
|
268
270
|
|
271
|
+
configuration.after_request_proc&.call(data)
|
272
|
+
|
269
273
|
data
|
270
274
|
end
|
271
275
|
|
@@ -328,6 +332,8 @@ module MangoPay
|
|
328
332
|
}
|
329
333
|
end
|
330
334
|
|
335
|
+
configuration.after_request_proc&.call(data)
|
336
|
+
|
331
337
|
data
|
332
338
|
end
|
333
339
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mangopay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.41.
|
4
|
+
version: 3.41.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geoffroy Lorieux
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-10-
|
12
|
+
date: 2025-10-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|