adyen-ruby-api-library 10.1.0 → 10.1.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/VERSION +1 -1
- data/lib/adyen/services/posTerminalManagement.rb +15 -0
- data/lib/adyen/services/transfers/capital_api.rb +9 -0
- data/lib/adyen/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c365b64ddb38cf735b8e56490bb4c392a0d78d7d1250df09b78a303eae5e25e0
|
4
|
+
data.tar.gz: 6652c1d479abf0193ad9fa7bdf58c8dfbf47bd713f54c6964f657d5115a5df63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ac3a03f3c60386082b9d6f35c5524af91e09daace138bbf457393a1f2fe119abae2f46c743f31dbd1f0f40406c1ad75edee92efc2a793c13a23a7a586105ee5
|
7
|
+
data.tar.gz: 748fb3f6cfbc34a33beff6b9cc25f40bf0dd392422491f1f8648a35fed7570bf48e708e902951ecaefbcaed2bb603dc1c0a5edc1e4f8efbecfd0620ce6ca5f22
|
data/VERSION
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
10.1.
|
1
|
+
10.1.2
|
2
2
|
|
@@ -14,6 +14,9 @@ module Adyen
|
|
14
14
|
end
|
15
15
|
|
16
16
|
# Assign terminals
|
17
|
+
#
|
18
|
+
# Deprecated since POS Terminal Management API v1
|
19
|
+
# Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).
|
17
20
|
def assign_terminals(request, headers: {})
|
18
21
|
endpoint = '/assignTerminals'.gsub(/{.+?}/, '%s')
|
19
22
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -24,6 +27,9 @@ module Adyen
|
|
24
27
|
end
|
25
28
|
|
26
29
|
# Get the account or store of a terminal
|
30
|
+
#
|
31
|
+
# Deprecated since POS Terminal Management API v1
|
32
|
+
# Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).
|
27
33
|
def find_terminal(request, headers: {})
|
28
34
|
endpoint = '/findTerminal'.gsub(/{.+?}/, '%s')
|
29
35
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +40,9 @@ module Adyen
|
|
34
40
|
end
|
35
41
|
|
36
42
|
# Get the stores of an account
|
43
|
+
#
|
44
|
+
# Deprecated since POS Terminal Management API v1
|
45
|
+
# Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).
|
37
46
|
def get_stores_under_account(request, headers: {})
|
38
47
|
endpoint = '/getStoresUnderAccount'.gsub(/{.+?}/, '%s')
|
39
48
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -44,6 +53,9 @@ module Adyen
|
|
44
53
|
end
|
45
54
|
|
46
55
|
# Get the details of a terminal
|
56
|
+
#
|
57
|
+
# Deprecated since POS Terminal Management API v1
|
58
|
+
# Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).
|
47
59
|
def get_terminal_details(request, headers: {})
|
48
60
|
endpoint = '/getTerminalDetails'.gsub(/{.+?}/, '%s')
|
49
61
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -54,6 +66,9 @@ module Adyen
|
|
54
66
|
end
|
55
67
|
|
56
68
|
# Get the list of terminals
|
69
|
+
#
|
70
|
+
# Deprecated since POS Terminal Management API v1
|
71
|
+
# Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).
|
57
72
|
def get_terminals_under_account(request, headers: {})
|
58
73
|
endpoint = '/getTerminalsUnderAccount'.gsub(/{.+?}/, '%s')
|
59
74
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -13,6 +13,9 @@ module Adyen
|
|
13
13
|
end
|
14
14
|
|
15
15
|
# Get a capital account
|
16
|
+
#
|
17
|
+
# Deprecated since Transfers API v4
|
18
|
+
# Use the `/grants` endpoint from the [Capital API](https://docs.adyen.com/api-explorer/capital/latest/get/grants) instead.
|
16
19
|
def get_capital_account(headers: {}, query_params: {})
|
17
20
|
endpoint = '/grants'.gsub(/{.+?}/, '%s')
|
18
21
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -23,6 +26,9 @@ module Adyen
|
|
23
26
|
end
|
24
27
|
|
25
28
|
# Get grant reference details
|
29
|
+
#
|
30
|
+
# Deprecated since Transfers API v4
|
31
|
+
# Use the `/grants/{grantId}` endpoint from the [Capital API](https://docs.adyen.com/api-explorer/capital/latest/get/grants/(grantId)) instead.
|
26
32
|
def get_grant_reference_details(id, headers: {})
|
27
33
|
endpoint = '/grants/{id}'.gsub(/{.+?}/, '%s')
|
28
34
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -33,6 +39,9 @@ module Adyen
|
|
33
39
|
end
|
34
40
|
|
35
41
|
# Request a grant payout
|
42
|
+
#
|
43
|
+
# Deprecated since Transfers API v4
|
44
|
+
# Use the `/grants` endpoint from the [Capital API](https://docs.adyen.com/api-explorer/capital/latest/post/grants) instead.
|
36
45
|
def request_grant_payout(request, headers: {})
|
37
46
|
endpoint = '/grants'.gsub(/{.+?}/, '%s')
|
38
47
|
endpoint = endpoint.gsub(%r{^/}, '')
|
data/lib/adyen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adyen-ruby-api-library
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.1.
|
4
|
+
version: 10.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adyen
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-10 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: faraday
|
@@ -419,7 +418,6 @@ metadata:
|
|
419
418
|
documentation_uri: https://docs.adyen.com/developers/development-resources/libraries
|
420
419
|
homepage_uri: https://www.adyen.com
|
421
420
|
source_code_uri: https://github.com/Adyen/adyen-ruby-api-library
|
422
|
-
post_install_message:
|
423
421
|
rdoc_options: []
|
424
422
|
require_paths:
|
425
423
|
- lib
|
@@ -434,8 +432,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
434
432
|
- !ruby/object:Gem::Version
|
435
433
|
version: '0'
|
436
434
|
requirements: []
|
437
|
-
rubygems_version: 3.
|
438
|
-
signing_key:
|
435
|
+
rubygems_version: 3.6.2
|
439
436
|
specification_version: 4
|
440
437
|
summary: Official Adyen Ruby API Library
|
441
438
|
test_files: []
|