connect-sdk-ruby 3.4.0 → 3.4.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: 5b94f92b9c55634c12b5faac77ef74ae51b131619bacc881f9ee72435e5e7f3e
|
4
|
+
data.tar.gz: ad9e4f6327d2f605b22cab529e81f4d735c7da1ddebb308489f516166c690275
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c2844f14e989937673aaf9c9c90b68b79eca59d823d5342a4c3bc59725b84ead5b0cdbad79f905cfa4e4f0bcc26053bd1bebcb0a9c9f6494b071ebb624d821b
|
7
|
+
data.tar.gz: cf2d6be01d88771afe62b4f85eab2b5e58792750ca0164bf0462bdb278ddfe8b042eab9224684cc97c1d0ed3196e917dd51e3ec9b1ec1f0cc2a13140d09d24c6
|
data/connect-sdk-ruby.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'connect-sdk-ruby'
|
3
|
-
spec.version = '3.4.
|
3
|
+
spec.version = '3.4.1'
|
4
4
|
spec.authors = ['Worldline Global Collect']
|
5
5
|
spec.email = ['github.connect@worldline.com']
|
6
6
|
spec.summary = %q{SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API}
|
@@ -14,7 +14,7 @@ module Worldline
|
|
14
14
|
class MetadataProvider
|
15
15
|
private
|
16
16
|
|
17
|
-
SDK_VERSION = '3.4.
|
17
|
+
SDK_VERSION = '3.4.1'.freeze
|
18
18
|
SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'.freeze
|
19
19
|
PROHIBITED_HEADERS = [SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key','Date', 'Content-Type', 'Authorization'].sort!.freeze
|
20
20
|
CHARSET = 'utf-8'.freeze
|
@@ -43,8 +43,8 @@ module Worldline
|
|
43
43
|
def self.create_communicator_from_configuration(configuration, metadata_provider: nil,
|
44
44
|
connection: nil, authenticator: nil, marshaller: nil)
|
45
45
|
unless metadata_provider
|
46
|
-
metadata_provider = MetadataProvider.new(configuration.integrator,
|
47
|
-
|
46
|
+
metadata_provider = Communication::MetadataProvider.new(configuration.integrator,
|
47
|
+
shopping_cart_extension: configuration.shopping_cart_extension)
|
48
48
|
end
|
49
49
|
unless connection
|
50
50
|
connection = Communication::DefaultConnection.new({ connect_timeout: configuration.connect_timeout,
|
@@ -56,7 +56,7 @@ module Worldline
|
|
56
56
|
authenticator = get_authenticator(configuration)
|
57
57
|
end
|
58
58
|
unless marshaller
|
59
|
-
marshaller = DefaultMarshaller.instance
|
59
|
+
marshaller = JSON::DefaultMarshaller.instance
|
60
60
|
end
|
61
61
|
Communicator.new(configuration.api_endpoint, connection, authenticator, metadata_provider, marshaller)
|
62
62
|
end
|
@@ -13,6 +13,8 @@ describe 'RiskAssessments' do
|
|
13
13
|
after(:context){WebMock.disable_net_connect!}
|
14
14
|
|
15
15
|
it 'can let the Worldline Global Collect platform assess risks' do
|
16
|
+
skip 'Risk assessments are not available for pre-prod sandbox accounts'
|
17
|
+
|
16
18
|
bank_account_bban = Worldline::Connect::SDK::V1::Domain::BankAccountBban.new
|
17
19
|
bank_account_bban.country_code = 'DE'
|
18
20
|
bank_account_bban.account_number = '0532013000'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: connect-sdk-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Worldline Global Collect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|