processout 2.16.0 → 2.17.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: 779ee1846ec8e9b73d6723ca8a356dc0bec6c6c1789365d0e7e3c46d99a04fa2
4
- data.tar.gz: 4d1876dd17cc8913ee449c35909ea8c27f63aa39aa1c4b9562c426c6091827f2
3
+ metadata.gz: 559db6651b870cc6583e9bda27526f937b8a1c3f58961769639de5030d2b9249
4
+ data.tar.gz: 0f31accee517e7222211cfe83c2c11300525a03c5d13d8282a71f9c59369a8c1
5
5
  SHA512:
6
- metadata.gz: dd40187eb822037e6914d2a43c28e4e1a7f4c60bf4c7e4d6e36fd4bfcd46817feca556a13d9deb779031d570816be5967145a620ac205fad1a7878a73ffd37bc
7
- data.tar.gz: fe2ac4474ef41366774350e8c3c63dfc8d46fb562b4c373e2612541912774a6053f0b7d2c9e40f44c2aa948f7aa68818c8f5a3c0946464bf6009e1bbc0ef6e39
6
+ metadata.gz: 5afa9e587fd112bb3a96e965aedf18f3d7b3b45f5352f91e8bf946b41817129b402333578da69c308d449d51b5771048a99f8443ce2e28e6c5a1c821e06bf9ce
7
+ data.tar.gz: d38a55e353ecac2a7cd958201f573037cfead8c43650f1c2607309aa6b26f7d130f4b0c8540c9948cf9dab4796baef73c17e6bac49d74415fda3e01b9f18ad36
@@ -13,7 +13,7 @@ module ProcessOut
13
13
  req.basic_auth @client.project_id, @client.project_secret
14
14
  req.content_type = "application/json"
15
15
  req["API-Version"] = "1.4.0.0"
16
- req["User-Agent"] = "ProcessOut Ruby-Bindings/2.16.0"
16
+ req["User-Agent"] = "ProcessOut Ruby-Bindings/2.17.0"
17
17
 
18
18
  unless options.nil?
19
19
  req["Idempotency-Key"] = options.fetch(:idempotency_key, "")
@@ -28,6 +28,7 @@ module ProcessOut
28
28
  attr_reader :invoice
29
29
  attr_reader :invoice_id
30
30
  attr_reader :manual_invoice_cancellation
31
+ attr_reader :can_get_balance
31
32
 
32
33
 
33
34
  def id=(val)
@@ -158,6 +159,10 @@ module ProcessOut
158
159
  @manual_invoice_cancellation = val
159
160
  end
160
161
 
162
+ def can_get_balance=(val)
163
+ @can_get_balance = val
164
+ end
165
+
161
166
 
162
167
  # Initializes the Token object
163
168
  # Params:
@@ -186,6 +191,7 @@ module ProcessOut
186
191
  self.invoice = data.fetch(:invoice, nil)
187
192
  self.invoice_id = data.fetch(:invoice_id, nil)
188
193
  self.manual_invoice_cancellation = data.fetch(:manual_invoice_cancellation, nil)
194
+ self.can_get_balance = data.fetch(:can_get_balance, nil)
189
195
 
190
196
  end
191
197
 
@@ -217,6 +223,7 @@ module ProcessOut
217
223
  "invoice": self.invoice,
218
224
  "invoice_id": self.invoice_id,
219
225
  "manual_invoice_cancellation": self.manual_invoice_cancellation,
226
+ "can_get_balance": self.can_get_balance,
220
227
  }.to_json
221
228
  end
222
229
 
@@ -287,6 +294,9 @@ module ProcessOut
287
294
  if data.include? "manual_invoice_cancellation"
288
295
  self.manual_invoice_cancellation = data["manual_invoice_cancellation"]
289
296
  end
297
+ if data.include? "can_get_balance"
298
+ self.can_get_balance = data["can_get_balance"]
299
+ end
290
300
 
291
301
  self
292
302
  end
@@ -318,6 +328,7 @@ module ProcessOut
318
328
  self.invoice = data.fetch(:invoice, self.invoice)
319
329
  self.invoice_id = data.fetch(:invoice_id, self.invoice_id)
320
330
  self.manual_invoice_cancellation = data.fetch(:manual_invoice_cancellation, self.manual_invoice_cancellation)
331
+ self.can_get_balance = data.fetch(:can_get_balance, self.can_get_balance)
321
332
 
322
333
  self
323
334
  end
@@ -1,3 +1,3 @@
1
1
  module ProcessOut
2
- VERSION = "2.16.0"
2
+ VERSION = "2.17.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: processout
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.0
4
+ version: 2.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel HUEZ
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-02 00:00:00.000000000 Z
11
+ date: 2022-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler