processout 2.7.0 → 2.8.0
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 +4 -4
- data/lib/processout/invoice.rb +2 -0
- data/lib/processout/networking/request.rb +1 -1
- data/lib/processout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d38211f71cac0158917a5887e72683209ede7f1
|
|
4
|
+
data.tar.gz: 35d08d6983873db282fd4bf877f88dd3898ce335
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a448b7652fd55659faefb9587cb28694eec76316853d1da633c39c39bc92e064cda40b6f719c9d1bc9ec7bd63e7bf929a0bfa5e3f9d9b4492b006e73bc60efea
|
|
7
|
+
data.tar.gz: f001c7db1fd551bffea5a25f1689cc14bee796fdee5096a02bc912103e2f0299b8e6a7b6eebafdf7f91d202f2b3254b2205287561d52dd6097d84d0868a16ae1
|
data/lib/processout/invoice.rb
CHANGED
|
@@ -395,6 +395,7 @@ module ProcessOut
|
|
|
395
395
|
data = {
|
|
396
396
|
"synchronous" => options.fetch(:synchronous, nil),
|
|
397
397
|
"retry_drop_liability_shift" => options.fetch(:retry_drop_liability_shift, nil),
|
|
398
|
+
"capture_amount" => options.fetch(:capture_amount, nil),
|
|
398
399
|
"source" => source
|
|
399
400
|
}
|
|
400
401
|
|
|
@@ -423,6 +424,7 @@ module ProcessOut
|
|
|
423
424
|
"authorize_only" => options.fetch(:authorize_only, nil),
|
|
424
425
|
"synchronous" => options.fetch(:synchronous, nil),
|
|
425
426
|
"retry_drop_liability_shift" => options.fetch(:retry_drop_liability_shift, nil),
|
|
427
|
+
"capture_amount" => options.fetch(:capture_amount, nil),
|
|
426
428
|
"source" => source
|
|
427
429
|
}
|
|
428
430
|
|
|
@@ -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
|
+
req["User-Agent"] = "ProcessOut Ruby-Bindings/2.8.0"
|
|
17
17
|
|
|
18
18
|
unless options.nil?
|
|
19
19
|
req["Idempotency-Key"] = options.fetch(:idempotency_key, "")
|
data/lib/processout/version.rb
CHANGED
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.
|
|
4
|
+
version: 2.8.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: 2018-11-
|
|
11
|
+
date: 2018-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|