onlinepayments-sdk-ruby 3.0.0 → 3.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: b972879b30e86122019cb9683a9c0f9bb22e930f3cdb70202dcd71d9b5b3fb48
4
- data.tar.gz: 85d3c34d68492ea5b77e641d3a1283d312a054105e7421ec19c9c048b3eb3d42
3
+ metadata.gz: 1bb876f081236865f02a3dd20ff6077b31c23849992bb96ea55d6b53d0f54fc1
4
+ data.tar.gz: 32b0499d531fec07363427cf5de88d23abe2be615d730952cb5a651faca45b0b
5
5
  SHA512:
6
- metadata.gz: 1d2c66697f92e16a30dff1e09199261b8208acbe58162a2d92f1a48cc1751adf58559d2227b1b27af30be5d77f77a9bb6090983b6bb9d49edbfc2d9a53530f3c
7
- data.tar.gz: 979d0f48a0d1be1b16d392d0178dd562896fd31095892ee032d646cf43c8b0506f7af5171454cabdf95d2f8354f0bd8998c7425fccd5d40cf78214b4b3b57c2f
6
+ metadata.gz: f6dc8f05d2503945a27ea6c6ae624ed5cdd0cd4bab2dc95e5725f67e43ff16a230560d1ece763469e34d023142dbdc4e0a6e79a634e025e7cb0aea1c421d2a03
7
+ data.tar.gz: 766130f0e2b133f60a8cdb379df46447aef8ce6fe517458a19756705117af71d0c6293b58d6ff1dc430700c39d4d52ea95f9a8339c957f72de7e64ba2bf1ff80
@@ -11,12 +11,14 @@ module OnlinePayments::SDK
11
11
  # @attr [Array<String>] invalid_tokens
12
12
  # @attr [String] merchant_reference
13
13
  # @attr [String] partial_redirect_url
14
+ # @attr [String] redirect_url
14
15
  class CreateHostedCheckoutResponse < OnlinePayments::SDK::DataObject
15
16
  attr_accessor :returnmac
16
17
  attr_accessor :hosted_checkout_id
17
18
  attr_accessor :invalid_tokens
18
19
  attr_accessor :merchant_reference
19
20
  attr_accessor :partial_redirect_url
21
+ attr_accessor :redirect_url
20
22
 
21
23
  # @return (Hash)
22
24
  def to_h
@@ -26,6 +28,7 @@ module OnlinePayments::SDK
26
28
  hash['invalidTokens'] = @invalid_tokens unless @invalid_tokens.nil?
27
29
  hash['merchantReference'] = @merchant_reference unless @merchant_reference.nil?
28
30
  hash['partialRedirectUrl'] = @partial_redirect_url unless @partial_redirect_url.nil?
31
+ hash['redirectUrl'] = @redirect_url unless @redirect_url.nil?
29
32
  hash
30
33
  end
31
34
 
@@ -42,6 +45,7 @@ module OnlinePayments::SDK
42
45
  end
43
46
  @merchant_reference = hash['merchantReference'] if hash.key? 'merchantReference'
44
47
  @partial_redirect_url = hash['partialRedirectUrl'] if hash.key? 'partialRedirectUrl'
48
+ @redirect_url = hash['redirectUrl'] if hash.key? 'redirectUrl'
45
49
  end
46
50
  end
47
51
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'onlinepayments-sdk-ruby'
3
- spec.version = '3.0.0'
3
+ spec.version = '3.1.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: 3.0.0
4
+ version: 3.1.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-02-21 00:00:00.000000000 Z
11
+ date: 2022-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient