connect-sdk-ruby 2.46.0 → 2.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/connect-sdk-ruby.gemspec +1 -1
- data/examples/merchant/productgroups/get_payment_product_group_example.rb +1 -0
- data/examples/merchant/productgroups/get_payment_product_groups_example.rb +1 -0
- data/examples/merchant/products/get_payment_product_example.rb +1 -0
- data/examples/merchant/products/get_payment_products_example.rb +1 -0
- data/lib/ingenico/connect/sdk/merchant/productgroups/find_productgroups_params.rb +4 -0
- data/lib/ingenico/connect/sdk/merchant/productgroups/get_productgroup_params.rb +4 -0
- data/lib/ingenico/connect/sdk/merchant/products/find_products_params.rb +4 -0
- data/lib/ingenico/connect/sdk/merchant/products/get_product_params.rb +4 -0
- data/lib/ingenico/connect/sdk/meta_data_provider.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3126dedb5946a68ac1cd320f41ce8c75a17b81c78dca433202b91df1a8a6b17
|
4
|
+
data.tar.gz: 232e2120ae13f239d936d68a5c397d9fe622077ae78e2e9da1bb62d53bcf9e4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d9654aeeb1bc58a6e3582310b0c8dfa86c50d0cd5af3adda3912bb6f06a4902f0111e6a0487654e50ad4c99b531c6cd6e351e26385efde623b70df5696f32d4
|
7
|
+
data.tar.gz: 62b2c5fae21f48ac59dc38e6672bee870db069598e028f662efb29b76a12ea7432949f07608ab8e4df307989c8f401ffad48956baafb51efe2f5073807c51677
|
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.47.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}
|
@@ -16,6 +16,7 @@ module Ingenico
|
|
16
16
|
# @attr [String] locale
|
17
17
|
# @attr [Integer] amount
|
18
18
|
# @attr [true/false] is_recurring
|
19
|
+
# @attr [true/false] is_installments
|
19
20
|
# @attr [Array<String>] hide
|
20
21
|
class FindProductgroupsParams < Ingenico::Connect::SDK::ParamRequest
|
21
22
|
|
@@ -29,6 +30,8 @@ module Ingenico
|
|
29
30
|
|
30
31
|
attr_accessor :is_recurring
|
31
32
|
|
33
|
+
attr_accessor :is_installments
|
34
|
+
|
32
35
|
attr_accessor :hide
|
33
36
|
|
34
37
|
# Adds the parameter _value_ to the _hide_ Array
|
@@ -48,6 +51,7 @@ module Ingenico
|
|
48
51
|
result << RequestParam.new('locale', @locale) unless @locale.nil?
|
49
52
|
result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
50
53
|
result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
54
|
+
result << RequestParam.new('isInstallments', @is_installments.to_s) unless @is_installments.nil?
|
51
55
|
unless @hide.nil?
|
52
56
|
@hide.each {|e| result << RequestParam.new('hide', e)}
|
53
57
|
end
|
@@ -16,6 +16,7 @@ module Ingenico
|
|
16
16
|
# @attr [String] locale
|
17
17
|
# @attr [Integer] amount
|
18
18
|
# @attr [true/false] is_recurring
|
19
|
+
# @attr [true/false] is_installments
|
19
20
|
# @attr [Array<String>] hide
|
20
21
|
class GetProductgroupParams < Ingenico::Connect::SDK::ParamRequest
|
21
22
|
|
@@ -29,6 +30,8 @@ module Ingenico
|
|
29
30
|
|
30
31
|
attr_accessor :is_recurring
|
31
32
|
|
33
|
+
attr_accessor :is_installments
|
34
|
+
|
32
35
|
attr_accessor :hide
|
33
36
|
|
34
37
|
# Adds the parameter _value_ to the _hide_ Array
|
@@ -48,6 +51,7 @@ module Ingenico
|
|
48
51
|
result << RequestParam.new('locale', @locale) unless @locale.nil?
|
49
52
|
result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
50
53
|
result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
54
|
+
result << RequestParam.new('isInstallments', @is_installments.to_s) unless @is_installments.nil?
|
51
55
|
unless @hide.nil?
|
52
56
|
@hide.each {|e| result << RequestParam.new('hide', e)}
|
53
57
|
end
|
@@ -16,6 +16,7 @@ module Ingenico
|
|
16
16
|
# @attr [String] locale
|
17
17
|
# @attr [Integer] amount
|
18
18
|
# @attr [true/false] is_recurring
|
19
|
+
# @attr [true/false] is_installments
|
19
20
|
# @attr [Array<String>] hide
|
20
21
|
class FindProductsParams < Ingenico::Connect::SDK::ParamRequest
|
21
22
|
|
@@ -29,6 +30,8 @@ module Ingenico
|
|
29
30
|
|
30
31
|
attr_accessor :is_recurring
|
31
32
|
|
33
|
+
attr_accessor :is_installments
|
34
|
+
|
32
35
|
attr_accessor :hide
|
33
36
|
|
34
37
|
# Adds the parameter _value_ to the _hide_ Array
|
@@ -48,6 +51,7 @@ module Ingenico
|
|
48
51
|
result << RequestParam.new('locale', @locale) unless @locale.nil?
|
49
52
|
result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
50
53
|
result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
54
|
+
result << RequestParam.new('isInstallments', @is_installments.to_s) unless @is_installments.nil?
|
51
55
|
unless @hide.nil?
|
52
56
|
@hide.each {|e| result << RequestParam.new('hide', e)}
|
53
57
|
end
|
@@ -16,6 +16,7 @@ module Ingenico
|
|
16
16
|
# @attr [String] locale
|
17
17
|
# @attr [Integer] amount
|
18
18
|
# @attr [true/false] is_recurring
|
19
|
+
# @attr [true/false] is_installments
|
19
20
|
# @attr [Array<String>] hide
|
20
21
|
# @attr [true/false] force_basic_flow
|
21
22
|
class GetProductParams < Ingenico::Connect::SDK::ParamRequest
|
@@ -30,6 +31,8 @@ module Ingenico
|
|
30
31
|
|
31
32
|
attr_accessor :is_recurring
|
32
33
|
|
34
|
+
attr_accessor :is_installments
|
35
|
+
|
33
36
|
attr_accessor :hide
|
34
37
|
|
35
38
|
attr_accessor :force_basic_flow
|
@@ -51,6 +54,7 @@ module Ingenico
|
|
51
54
|
result << RequestParam.new('locale', @locale) unless @locale.nil?
|
52
55
|
result << RequestParam.new('amount', @amount.to_s) unless @amount.nil?
|
53
56
|
result << RequestParam.new('isRecurring', @is_recurring.to_s) unless @is_recurring.nil?
|
57
|
+
result << RequestParam.new('isInstallments', @is_installments.to_s) unless @is_installments.nil?
|
54
58
|
unless @hide.nil?
|
55
59
|
@hide.each {|e| result << RequestParam.new('hide', e)}
|
56
60
|
end
|
@@ -11,7 +11,7 @@ module Ingenico
|
|
11
11
|
#
|
12
12
|
# @attr_reader [Array<Ingenico::Connect::SDK::RequestHeader>] meta_data_headers List of headers that should be used in all requests.
|
13
13
|
class MetaDataProvider
|
14
|
-
@@SDK_VERSION = '2.
|
14
|
+
@@SDK_VERSION = '2.47.0'
|
15
15
|
@@SERVER_META_INFO_HEADER = 'X-GCS-ServerMetaInfo'
|
16
16
|
@@PROHIBITED_HEADERS = [@@SERVER_META_INFO_HEADER, 'X-GCS-Idempotence-Key',
|
17
17
|
'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.47.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: 2024-
|
11
|
+
date: 2024-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -815,7 +815,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
815
815
|
- !ruby/object:Gem::Version
|
816
816
|
version: '0'
|
817
817
|
requirements: []
|
818
|
-
rubygems_version: 3.
|
818
|
+
rubygems_version: 3.4.22
|
819
819
|
signing_key:
|
820
820
|
specification_version: 4
|
821
821
|
summary: SDK to communicate with the Ingenico ePayments platform using the Ingenico
|