adyen-ruby-api-library 9.8.0 → 9.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +1 -1
- data/VERSION +1 -1
- data/lib/adyen/services/transfers/transfers_api.rb +18 -0
- data/lib/adyen/version.rb +1 -1
- data/lib/adyen-ruby-api-library.rb +1 -0
- 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: 1ef3a90aa8ea0a335d165930451be4eb77cfd6514391883420bae5d1ba3a8ff6
|
4
|
+
data.tar.gz: 8fe108f6f5937d50971a446cbebeab82f867ed97318453534891d962930d7d33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44565077d05a1836a79b608a74dbf1de8c348e629b68d6c7001415fc1257a03ac9f24d5b982f9434f511695524557345b73b7a35391f733f01e997a30483d112
|
7
|
+
data.tar.gz: ccd923da598991c3d3fbbb1bd6ca639173b5e5e342b63d7137dbb579315f08cdaac92be53328ba08031cafbf7297c028c5ff7f420a8039e4cec76811cf926325
|
data/.github/CODEOWNERS
CHANGED
@@ -1 +1 @@
|
|
1
|
-
* @Adyen/
|
1
|
+
* @Adyen/developer-relations
|
data/VERSION
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
9.
|
1
|
+
9.9.0
|
2
2
|
|
@@ -7,6 +7,24 @@ module Adyen
|
|
7
7
|
super(client, version, 'Transfers')
|
8
8
|
end
|
9
9
|
|
10
|
+
def approve_initiated_transfers(request, headers: {})
|
11
|
+
endpoint = '/transfers/approve'.gsub(/{.+?}/, '%s')
|
12
|
+
endpoint = endpoint.gsub(%r{^/}, '')
|
13
|
+
endpoint = format(endpoint)
|
14
|
+
|
15
|
+
action = { method: 'post', url: endpoint }
|
16
|
+
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
|
+
end
|
18
|
+
|
19
|
+
def cancel_initiated_transfers(request, headers: {})
|
20
|
+
endpoint = '/transfers/cancel'.gsub(/{.+?}/, '%s')
|
21
|
+
endpoint = endpoint.gsub(%r{^/}, '')
|
22
|
+
endpoint = format(endpoint)
|
23
|
+
|
24
|
+
action = { method: 'post', url: endpoint }
|
25
|
+
@client.call_adyen_api(@service, action, request, headers, @version)
|
26
|
+
end
|
27
|
+
|
10
28
|
def get_all_transfers(headers: {}, query_params: {})
|
11
29
|
endpoint = '/transfers'.gsub(/{.+?}/, '%s')
|
12
30
|
endpoint = endpoint.gsub(%r{^/}, '')
|
data/lib/adyen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adyen-ruby-api-library
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adyen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|