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: aff8008cb8e22a241f085a9d39e6846983bb224a9184825407e18e5c6a51cebf
4
- data.tar.gz: cd074e9cef176074ad872ffcca8992d3b52ad2e814c870191c389454aa51d31d
3
+ metadata.gz: 2e34af5f2782dc5da1f73b729869f32529bf1ec9f6593eff72581e08435c5b67
4
+ data.tar.gz: a222650f8e2adcbf3c34d5d32eeb7fd537f6b3ca9fc3d4c34fd3e6b23723586c
5
5
  SHA512:
6
- metadata.gz: 97496a8f31d90d807306a2e6b0e94597c9c78b3d4a9f60dfa8f4d75a1944bbb1718baf045d0a47be3e3e8b10de5b2a2f6fd6db20734666a4bad4a16c2cd55c25
7
- data.tar.gz: 3ee97383fb9dfe5fd55ad643148c7d800dcaa89ca0225d4cb3e9ca5573e31d650e30988db131ed2cdde49f0aa803c73cb04d03a9d3bf43dece418a46895c005a
6
+ metadata.gz: d9d8bfc4cf2ba82e7bdf0d1b13b944225ee8bb0b87e4d353cd12e97a838b5d253c493c5c2512487956ff3657505a57e1e51a95bb2d6dd488f7dbe51d52cd692b
7
+ data.tar.gz: 61df832fbbd3f664d4551a64b1957e27c02ec0daa3b593cbc454a4d940e5edc0005c4d02e33afd9b035f19ea661f7bfeacb54f63c1721525d1520a20ee38b7f5
data/VERSION CHANGED
@@ -1,2 +1,2 @@
1
- 10.0.1
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 list of brands on the card
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
@@ -1,4 +1,4 @@
1
1
  module Adyen
2
2
  NAME = 'adyen-ruby-api-library'.freeze
3
- VERSION = '10.0.1'.freeze
3
+ VERSION = '10.1.0'.freeze
4
4
  end
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.1
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-18 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday