connect-sdk-ruby 2.46.0 → 2.47.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: 31e5d55730eaedf21e2ca2e4d0ac0c81b8c6ce6595d6273240dd24fdf669c329
4
- data.tar.gz: a21a51b499dc455ea3ac39609b9e03a07b70beb646aecc81abf426eaec36a984
3
+ metadata.gz: 639cb3137b932ff3696b1b6b58fb5c423847ca36887dd3edcbc5279ced07915e
4
+ data.tar.gz: 5caa9df5c6141e264f1ca2a2c964ffc8d222a8e135c9a13f86b715998f2d9758
5
5
  SHA512:
6
- metadata.gz: dbadda5a76bf9fdd986e52e9f0820eb59a59909f231bd1f0dfecd68eeca188e1fad3f18f34ab4ca7688a3ac32feb5520374826dd3c5e3dcaa16cdbfe4310f1b8
7
- data.tar.gz: 91b4db8b41b6e7d262ae00da59c707f128a3d48d65fe4ca191eb73b8a111fb4fc5cc8a0c0a78a04935ebb41056b6deeeba65c68719ab211e27d6f4d8c6826743
6
+ metadata.gz: 315c751a67acc403114ee5c26d161d9449ab25c0a61bee4e82d672c83752af64f40750ac31f92291976fb87349bfcc60e47e461c65d94ca30e9aef0f4bdced46
7
+ data.tar.gz: aab83d74614443ae32129bbcf72f18b9c6b8303ea8c1f29a5502e78a7f85822a2fadd641b7a940d103ce0d542d6bb7aa49f33441b0dbf65c1689d37cb93815c0
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'connect-sdk-ruby'
3
- spec.version = '2.46.0'
3
+ spec.version = '2.47.1'
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}
@@ -15,6 +15,7 @@ def example
15
15
  query.locale = 'en_US'
16
16
  query.amount = 1000
17
17
  query.is_recurring = true
18
+ query.is_installments = true
18
19
  query.add_hide('fields')
19
20
 
20
21
  response = client.merchant('merchantId').productgroups.get('cards', query)
@@ -15,6 +15,7 @@ def example
15
15
  query.locale = 'en_US'
16
16
  query.amount = 1000
17
17
  query.is_recurring = true
18
+ query.is_installments = true
18
19
  query.add_hide('fields')
19
20
 
20
21
  response = client.merchant('merchantId').productgroups.find(query)
@@ -15,6 +15,7 @@ def example
15
15
  query.locale = 'en_US'
16
16
  query.amount = 1000
17
17
  query.is_recurring = true
18
+ query.is_installments = true
18
19
  query.force_basic_flow = false
19
20
  query.add_hide('fields')
20
21
 
@@ -15,6 +15,7 @@ def example
15
15
  query.locale = 'en_US'
16
16
  query.amount = 1000
17
17
  query.is_recurring = true
18
+ query.is_installments = true
18
19
  query.add_hide('fields')
19
20
 
20
21
  response = client.merchant('merchantId').products.find(query)
@@ -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.46.0'
14
+ @@SDK_VERSION = '2.47.1'
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
@@ -7,14 +7,14 @@ end
7
7
  module Ingenico::Connect::SDK::DefaultImpl
8
8
  end
9
9
 
10
- # Contains all obfuscation-related classes.
11
- module Ingenico::Connect::SDK::Logging::Obfuscation
12
- end
13
-
14
10
  # Contains all logging-related classes.
15
11
  module Ingenico::Connect::SDK::Logging
16
12
  end
17
13
 
14
+ # Contains all obfuscation-related classes.
15
+ module Ingenico::Connect::SDK::Logging::Obfuscation
16
+ end
17
+
18
18
  # Contains interfaces to all Ingenico ePayments services. These services are accessed through a *Ingenico::Connect::SDK::Client* instance.
19
19
  module Ingenico::Connect::SDK::Merchant
20
20
  end
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.46.0
4
+ version: 2.47.1
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-01-16 00:00:00.000000000 Z
11
+ date: 2024-03-06 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.0.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