onlinepayments-sdk-ruby 10.2.0 → 10.3.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: 7bd93655aa73ed86542a6d14d220957e6849a78613edb9bfad6c53c1563cf0c5
|
|
4
|
+
data.tar.gz: 0d1800b7597bd79999a97a3dc11239bd74b56f65dc3519d9254dd0457de5fbda
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4fabbb91223bc056a38f726b98c77943024f24a5364faaac5040df2dec86f8950c0caba97af1f4f61613ec7eae492463f4b7d9102f6b65c13ed7e198ec3db0c6
|
|
7
|
+
data.tar.gz: f98a76aa631b0c67159240384fd6e34b5e8dd9e25ab8e98e01bd279f627695c45a4677568eeb9dbd6f10bceb819c4b014bf5e71c0b68921ec11bc61194136f99
|
|
@@ -13,7 +13,7 @@ module OnlinePayments
|
|
|
13
13
|
class MetadataProvider
|
|
14
14
|
private
|
|
15
15
|
|
|
16
|
-
SDK_VERSION = '10.
|
|
16
|
+
SDK_VERSION = '10.3.0'.freeze
|
|
17
17
|
SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'.freeze
|
|
18
18
|
PROHIBITED_HEADERS = [SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key', 'Date', 'Content-Type', 'Authorization'].sort!.freeze
|
|
19
19
|
CHARSET = 'utf-8'.freeze
|
|
@@ -430,7 +430,7 @@ module OnlinePayments
|
|
|
430
430
|
# which represent the parameter name and value respectively.
|
|
431
431
|
def to_absolute_uri(relative_path, request_parameters)
|
|
432
432
|
absolute_path = relative_path.start_with?('/') ? relative_path : '/' + relative_path
|
|
433
|
-
uri = URI::
|
|
433
|
+
uri = URI::HTTPS.new(@api_endpoint.scheme, nil, @api_endpoint.host,
|
|
434
434
|
@api_endpoint.port, nil, absolute_path, nil, nil, nil)
|
|
435
435
|
unless request_parameters.nil?
|
|
436
436
|
request_parameters.each do |nvp|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = 'onlinepayments-sdk-ruby'
|
|
3
|
-
spec.version = '10.
|
|
3
|
+
spec.version = '10.3.0'
|
|
4
4
|
spec.authors = ['Worldline Direct support team']
|
|
5
5
|
spec.email = ['82139942+worldline-direct-support-team@users.noreply.github.com']
|
|
6
6
|
spec.summary = %q{SDK to communicate with the Online Payments platform using the Online Payments Server API}
|