connect-sdk-ruby 2.35.0 → 2.36.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: 5ecb154486513a53536d6e775da8872b794464f729a02469ab07570a9ee7e9b9
|
4
|
+
data.tar.gz: 27d1660095e5b008a6c3f68d982e5b278932bbbe9440337328f150a80923ca8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8d61fe77f2653c98ccdd638278e11beecadedabd69a81d707d58804aa373b226a2b99e593bb5b48594d364a8654359deed7bd575336212665a4f2b63edb7d0b
|
7
|
+
data.tar.gz: ce135bb910b100780fe9dd1e15acb34c780d3d380c8334d8898350497bfd8d349b71d365fb63040a4d1005fb3334f6abd6ef4dac22245ca7c798b1f3fb78701d
|
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 = '2.
|
3
|
+
spec.version = '2.36.0'
|
4
4
|
spec.authors = ['Ingenico ePayments']
|
5
5
|
spec.email = ['github@epay.ingenico.com']
|
6
6
|
spec.summary = %q{SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API}
|
@@ -10,6 +10,7 @@ module Ingenico::Connect::SDK
|
|
10
10
|
|
11
11
|
# @attr [true/false] is_authorized
|
12
12
|
# @attr [true/false] is_refundable
|
13
|
+
# @attr [true/false] is_retriable
|
13
14
|
# @attr [String] three_d_secure_status
|
14
15
|
class PaymentStatusOutput < Ingenico::Connect::SDK::Domain::Definitions::OrderStatusOutput
|
15
16
|
|
@@ -17,6 +18,8 @@ module Ingenico::Connect::SDK
|
|
17
18
|
|
18
19
|
attr_accessor :is_refundable
|
19
20
|
|
21
|
+
attr_accessor :is_retriable
|
22
|
+
|
20
23
|
attr_accessor :three_d_secure_status
|
21
24
|
|
22
25
|
# @return (Hash)
|
@@ -24,6 +27,7 @@ module Ingenico::Connect::SDK
|
|
24
27
|
hash = super
|
25
28
|
hash['isAuthorized'] = @is_authorized unless @is_authorized.nil?
|
26
29
|
hash['isRefundable'] = @is_refundable unless @is_refundable.nil?
|
30
|
+
hash['isRetriable'] = @is_retriable unless @is_retriable.nil?
|
27
31
|
hash['threeDSecureStatus'] = @three_d_secure_status unless @three_d_secure_status.nil?
|
28
32
|
hash
|
29
33
|
end
|
@@ -36,6 +40,9 @@ module Ingenico::Connect::SDK
|
|
36
40
|
if hash.has_key? 'isRefundable'
|
37
41
|
@is_refundable = hash['isRefundable']
|
38
42
|
end
|
43
|
+
if hash.has_key? 'isRetriable'
|
44
|
+
@is_retriable = hash['isRetriable']
|
45
|
+
end
|
39
46
|
if hash.has_key? 'threeDSecureStatus'
|
40
47
|
@three_d_secure_status = hash['threeDSecureStatus']
|
41
48
|
end
|
@@ -7,7 +7,7 @@ module Ingenico::Connect::SDK
|
|
7
7
|
#
|
8
8
|
# @attr_reader [Array<Ingenico::Connect::SDK::RequestHeader>] meta_data_headers List of headers that should be used in all requests.
|
9
9
|
class MetaDataProvider
|
10
|
-
@@SDK_VERSION = '2.
|
10
|
+
@@SDK_VERSION = '2.36.0'
|
11
11
|
@@SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'
|
12
12
|
@@PROHIBITED_HEADERS = [@@SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key',
|
13
13
|
'Date', 'Content-Type', 'Authorization'].sort!.freeze
|
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: 2.
|
4
|
+
version: 2.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ingenico ePayments
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|