adyen-ruby-api-library 10.0.1 → 10.1.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28097dc756c9c1fb8eea3f0cf6097e0297435206cfa2d80f3ddb15894ef27792
|
4
|
+
data.tar.gz: 7ee9e568febe00589ad68f1a7e7841f209257f0ad5ada921d7467e5440498edf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e2894ee9c7866b4d73a1cbebe57453589ac5a0cf4cdcb6e418630d4b63d1080e50847864050c84b68114e16091b5b66a8e7baa809caa1b694d0c1d43cb372a6
|
7
|
+
data.tar.gz: ba9d13b85d92ba98941168bbdfd5321a3fb08f7e45cb6724417861d0970b17cc08304eeec7278f7ee1e6a314ca5b292d51ec6138f9d888a823274c78ec50fa6e
|
data/VERSION
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
10.
|
1
|
+
10.1.1
|
2
2
|
|
@@ -12,7 +12,7 @@ module Adyen
|
|
12
12
|
super(client, version, 'Checkout')
|
13
13
|
end
|
14
14
|
|
15
|
-
# Get the
|
15
|
+
# Get the brands and other details of a card
|
16
16
|
def card_details(request, headers: {})
|
17
17
|
endpoint = '/cardDetails'.gsub(/{.+?}/, '%s')
|
18
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -12,6 +12,16 @@ module Adyen
|
|
12
12
|
super(client, version, 'LegalEntityManagement')
|
13
13
|
end
|
14
14
|
|
15
|
+
# Calculate PCI status of a legal entity
|
16
|
+
def calculate_pci_status_of_legal_entity(request, id, headers: {})
|
17
|
+
endpoint = '/legalEntities/{id}/pciQuestionnaires/signingRequired'.gsub(/{.+?}/, '%s')
|
18
|
+
endpoint = endpoint.gsub(%r{^/}, '')
|
19
|
+
endpoint = format(endpoint, id)
|
20
|
+
|
21
|
+
action = { method: 'post', url: endpoint }
|
22
|
+
@client.call_adyen_api(@service, action, request, headers, @version)
|
23
|
+
end
|
24
|
+
|
15
25
|
# Generate PCI questionnaire
|
16
26
|
def generate_pci_questionnaire(request, id, headers: {})
|
17
27
|
endpoint = '/legalEntities/{id}/pciQuestionnaires/generatePciTemplates'.gsub(/{.+?}/, '%s')
|
@@ -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{^/}, '')
|
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.
|
4
|
+
version: 10.1.1
|
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-01-14 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: []
|