onlinepayments-sdk-ruby 6.3.0 → 6.3.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: fe015629d32e6e358cf0bfe83726a3e80fc22dd3f12f0be5c6b806e99f12fb4a
|
4
|
+
data.tar.gz: 360e97f6ce3a57ef4db88a546e32c24b94b02c0fed060afcf59526f99df46d88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f04d811c01094bcc5f337eb9aa29a94a3bdbc1eec988ea02478cf228331bcf1d12823c5ddd521e0f7833e2064ef8cfc033141529972f082ff5664090df25b689
|
7
|
+
data.tar.gz: d8192455c69d32cbbfe1a16e46c3399a506a36748becd639ffe3ece3f98c564575407dc71e3833d348da863ced1f5efda12cad2a9d50ac17884b53e87614681c
|
@@ -13,7 +13,7 @@ module OnlinePayments
|
|
13
13
|
class MetadataProvider
|
14
14
|
private
|
15
15
|
|
16
|
-
SDK_VERSION = '6.3.
|
16
|
+
SDK_VERSION = '6.3.1'.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
|
@@ -13,7 +13,7 @@ module OnlinePayments
|
|
13
13
|
# @attr [String] id
|
14
14
|
# @attr [String] merchant_id
|
15
15
|
# @attr [String] type
|
16
|
-
# @attr [OnlinePayments::SDK::V2::Domain::PaymentLinkResponse]
|
16
|
+
# @attr [OnlinePayments::SDK::V2::Domain::PaymentLinkResponse] payment_link
|
17
17
|
# @attr [OnlinePayments::SDK::V2::Domain::PaymentResponse] payment
|
18
18
|
# @attr [OnlinePayments::SDK::V2::Domain::PayoutResponse] payout
|
19
19
|
# @attr [OnlinePayments::SDK::V2::Domain::RefundResponse] refund
|
@@ -32,7 +32,7 @@ module OnlinePayments
|
|
32
32
|
|
33
33
|
attr_accessor :type
|
34
34
|
|
35
|
-
attr_accessor :
|
35
|
+
attr_accessor :payment_link
|
36
36
|
|
37
37
|
attr_accessor :payment
|
38
38
|
|
@@ -50,7 +50,7 @@ module OnlinePayments
|
|
50
50
|
hash['id'] = @id unless @id.nil?
|
51
51
|
hash['merchantId'] = @merchant_id unless @merchant_id.nil?
|
52
52
|
hash['type'] = @type unless @type.nil?
|
53
|
-
hash['
|
53
|
+
hash['paymentLink'] = @payment_link.to_h unless @payment_link.nil?
|
54
54
|
hash['payment'] = @payment.to_h unless @payment.nil?
|
55
55
|
hash['payout'] = @payout.to_h unless @payout.nil?
|
56
56
|
hash['refund'] = @refund.to_h unless @refund.nil?
|
@@ -75,8 +75,8 @@ module OnlinePayments
|
|
75
75
|
if hash.has_key? 'type'
|
76
76
|
@type = hash['type']
|
77
77
|
end
|
78
|
-
if hash.has_key? '
|
79
|
-
@
|
78
|
+
if hash.has_key? 'paymentLink'
|
79
|
+
@payment_link = OnlinePayments::SDK::Domain::PaymentLinkResponse.new_from_hash(hash['paymentLink'])
|
80
80
|
end
|
81
81
|
if hash.has_key? 'payment'
|
82
82
|
@payment = OnlinePayments::SDK::Domain::PaymentResponse.new_from_hash(hash['payment'])
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'onlinepayments-sdk-ruby'
|
3
|
-
spec.version = '6.3.
|
3
|
+
spec.version = '6.3.1'
|
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}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onlinepayments-sdk-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.3.
|
4
|
+
version: 6.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Worldline Direct support team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-10-
|
11
|
+
date: 2025-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|