adyen-ruby-api-library 10.0.1 → 10.1.0
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: 2e34af5f2782dc5da1f73b729869f32529bf1ec9f6593eff72581e08435c5b67
|
4
|
+
data.tar.gz: a222650f8e2adcbf3c34d5d32eeb7fd537f6b3ca9fc3d4c34fd3e6b23723586c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9d8bfc4cf2ba82e7bdf0d1b13b944225ee8bb0b87e4d353cd12e97a838b5d253c493c5c2512487956ff3657505a57e1e51a95bb2d6dd488f7dbe51d52cd692b
|
7
|
+
data.tar.gz: 61df832fbbd3f664d4551a64b1957e27c02ec0daa3b593cbc454a4d940e5edc0005c4d02e33afd9b035f19ea661f7bfeacb54f63c1721525d1520a20ee38b7f5
|
data/VERSION
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
10.0
|
1
|
+
10.1.0
|
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')
|
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: 10.0
|
4
|
+
version: 10.1.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-
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|