onlinepayments-sdk-ruby 4.4.0 → 4.5.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93a7c40947afa8704af74d7082c018870c346bf21c02bd485a5c70ddad1e7906
|
4
|
+
data.tar.gz: 6e17f943e4c50bc97d687a5397fd3b25c32469801ad5b9a03f3f24311b74b4b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88af096114e0386146dc027ab632d8d3da491739d6b4e54209c119b213f2c440d7c05884f471b4fdf9db66a17926d24c5cb39a96deef34e27f4227691163a80a
|
7
|
+
data.tar.gz: 12f54ad875a739a866f4f7e0cd5a5297957bbd14984002f228c3d29d5c625a368fd6db1dd1570f4b88948efcf0c78b77e0dd9a5a0373f48188686ee9b76a7f38
|
@@ -8,11 +8,13 @@ module OnlinePayments::SDK
|
|
8
8
|
|
9
9
|
# @attr [Array<String>] expired_card_tokens
|
10
10
|
# @attr [String] hosted_tokenization_id
|
11
|
+
# @attr [String] hosted_tokenization_url
|
11
12
|
# @attr [Array<String>] invalid_tokens
|
12
13
|
# @attr [String] partial_redirect_url
|
13
14
|
class CreateHostedTokenizationResponse < OnlinePayments::SDK::DataObject
|
14
15
|
attr_accessor :expired_card_tokens
|
15
16
|
attr_accessor :hosted_tokenization_id
|
17
|
+
attr_accessor :hosted_tokenization_url
|
16
18
|
attr_accessor :invalid_tokens
|
17
19
|
attr_accessor :partial_redirect_url
|
18
20
|
|
@@ -21,6 +23,7 @@ module OnlinePayments::SDK
|
|
21
23
|
hash = super
|
22
24
|
hash['expiredCardTokens'] = @expired_card_tokens unless @expired_card_tokens.nil?
|
23
25
|
hash['hostedTokenizationId'] = @hosted_tokenization_id unless @hosted_tokenization_id.nil?
|
26
|
+
hash['hostedTokenizationUrl'] = @hosted_tokenization_url unless @hosted_tokenization_url.nil?
|
24
27
|
hash['invalidTokens'] = @invalid_tokens unless @invalid_tokens.nil?
|
25
28
|
hash['partialRedirectUrl'] = @partial_redirect_url unless @partial_redirect_url.nil?
|
26
29
|
hash
|
@@ -36,6 +39,7 @@ module OnlinePayments::SDK
|
|
36
39
|
end
|
37
40
|
end
|
38
41
|
@hosted_tokenization_id = hash['hostedTokenizationId'] if hash.key? 'hostedTokenizationId'
|
42
|
+
@hosted_tokenization_url = hash['hostedTokenizationUrl'] if hash.key? 'hostedTokenizationUrl'
|
39
43
|
if hash.key? 'invalidTokens'
|
40
44
|
raise TypeError, "value '%s' is not an Array" % [hash['invalidTokens']] unless hash['invalidTokens'].is_a? Array
|
41
45
|
@invalid_tokens = []
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'onlinepayments-sdk-ruby'
|
3
|
-
spec.version = '4.
|
3
|
+
spec.version = '4.5.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}
|
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: 4.
|
4
|
+
version: 4.5.0
|
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: 2022-11-
|
11
|
+
date: 2022-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|