connect-sdk-ruby 2.36.0 → 2.37.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: 5ecb154486513a53536d6e775da8872b794464f729a02469ab07570a9ee7e9b9
4
- data.tar.gz: 27d1660095e5b008a6c3f68d982e5b278932bbbe9440337328f150a80923ca8a
3
+ metadata.gz: 3551aa5d339ae589d8130be498ded51a07dcb278587a808ca8bab1c772cb64ea
4
+ data.tar.gz: b515659313408a2ac8bc871b395cc87c057792c553e5d015ec9335b51a215de8
5
5
  SHA512:
6
- metadata.gz: c8d61fe77f2653c98ccdd638278e11beecadedabd69a81d707d58804aa373b226a2b99e593bb5b48594d364a8654359deed7bd575336212665a4f2b63edb7d0b
7
- data.tar.gz: ce135bb910b100780fe9dd1e15acb34c780d3d380c8334d8898350497bfd8d349b71d365fb63040a4d1005fb3334f6abd6ef4dac22245ca7c798b1f3fb78701d
6
+ metadata.gz: 133e1604712d9eb414c802d2a2e94eda23f24a0e0fdc08b66df3e983d0b8d35b7d282162f135547c14e597463c091c66b9e0283d48363721565552004208859f
7
+ data.tar.gz: cf9c3c7f7b8ee2df912ee8c5ad8785c94a38c59c0399dfdd83bf3831d119755475e236a0e249e2fecb6154567408bd43b9f435a90472c9626e3c24adefa37a58
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'connect-sdk-ruby'
3
- spec.version = '2.36.0'
3
+ spec.version = '2.37.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::Connect::SDK
16
16
  # @attr [String] geocode
17
17
  # @attr [String] id
18
18
  # @attr [String] invoice_number
19
+ # @attr [true/false] is_foreign_retailer
19
20
  # @attr [String] mcc
20
21
  # @attr [String] name
21
22
  # @attr [String] phone_number
@@ -36,6 +37,8 @@ module Ingenico::Connect::SDK
36
37
 
37
38
  attr_accessor :invoice_number
38
39
 
40
+ attr_accessor :is_foreign_retailer
41
+
39
42
  attr_accessor :mcc
40
43
 
41
44
  attr_accessor :name
@@ -54,6 +57,7 @@ module Ingenico::Connect::SDK
54
57
  hash['geocode'] = @geocode unless @geocode.nil?
55
58
  hash['id'] = @id unless @id.nil?
56
59
  hash['invoiceNumber'] = @invoice_number unless @invoice_number.nil?
60
+ hash['isForeignRetailer'] = @is_foreign_retailer unless @is_foreign_retailer.nil?
57
61
  hash['mcc'] = @mcc unless @mcc.nil?
58
62
  hash['name'] = @name unless @name.nil?
59
63
  hash['phoneNumber'] = @phone_number unless @phone_number.nil?
@@ -85,6 +89,9 @@ module Ingenico::Connect::SDK
85
89
  if hash.has_key? 'invoiceNumber'
86
90
  @invoice_number = hash['invoiceNumber']
87
91
  end
92
+ if hash.has_key? 'isForeignRetailer'
93
+ @is_foreign_retailer = hash['isForeignRetailer']
94
+ end
88
95
  if hash.has_key? 'mcc'
89
96
  @mcc = hash['mcc']
90
97
  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.36.0'
10
+ @@SDK_VERSION = '2.37.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.36.0
4
+ version: 2.37.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-03-09 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient