processout 2.30.0 → 2.31.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9daae4f6b38dea2683271dd9a4bbb57d54ce2cb08e457c8a62f19536e3ab3d37
4
- data.tar.gz: 9b47f6293d6c347b5a5cc6a6cf9372ee4d9a97e2dc35f63c5666764f6635f327
3
+ metadata.gz: 13734f421a8c68478c51080f9b3f0a4c0224262fee2119b3b64dbd9624405ef7
4
+ data.tar.gz: a26a61b84735b1d9ede5a39770f92ae32575c8e333118aefc1ca4ade6d947345
5
5
  SHA512:
6
- metadata.gz: 43e1abcc1b8ab960f28889a95a157c97d66b400b72d44cecddf1724fea1658a2e79aab2cb067dcc9890fe5e7257b17b8577815a0bca64ad2f43754cc30c8c644
7
- data.tar.gz: 6c36a1140484dfe0c759afb150cf76a63dcc35a342f1d39d18ac0137f6f87377514277bae7f32aec3f6fe3d3cadeb06729ee73dffeffeb06be6771e5f1ad3642
6
+ metadata.gz: 297f5fbed27228dddcc8e4cccc61ca64779e0c0a0e2ef386a49aff2d489550e542405340560ffec8129c9b538b8c8dedfdc3638aaab37a5c76a6e6f5e96c26a9
7
+ data.tar.gz: 89ef663f6d2964c3026052ae82b986d6a02fa374e64a6a3ba020c635c575c759ee7640d7661ec1fb13ed194cc5c1f2709e51d3bd552d24395f8439483079717e
@@ -55,6 +55,7 @@ module ProcessOut
55
55
  attr_reader :billing
56
56
  attr_reader :unsupported_feature_bypass
57
57
  attr_reader :verification
58
+ attr_reader :auto_capture_at
58
59
 
59
60
 
60
61
  def id=(val)
@@ -417,6 +418,10 @@ module ProcessOut
417
418
  @verification = val
418
419
  end
419
420
 
421
+ def auto_capture_at=(val)
422
+ @auto_capture_at = val
423
+ end
424
+
420
425
 
421
426
  # Initializes the Invoice object
422
427
  # Params:
@@ -472,6 +477,7 @@ module ProcessOut
472
477
  self.billing = data.fetch(:billing, nil)
473
478
  self.unsupported_feature_bypass = data.fetch(:unsupported_feature_bypass, nil)
474
479
  self.verification = data.fetch(:verification, nil)
480
+ self.auto_capture_at = data.fetch(:auto_capture_at, nil)
475
481
 
476
482
  end
477
483
 
@@ -530,6 +536,7 @@ module ProcessOut
530
536
  "billing": self.billing,
531
537
  "unsupported_feature_bypass": self.unsupported_feature_bypass,
532
538
  "verification": self.verification,
539
+ "auto_capture_at": self.auto_capture_at,
533
540
  }.to_json
534
541
  end
535
542
 
@@ -681,6 +688,9 @@ module ProcessOut
681
688
  if data.include? "verification"
682
689
  self.verification = data["verification"]
683
690
  end
691
+ if data.include? "auto_capture_at"
692
+ self.auto_capture_at = data["auto_capture_at"]
693
+ end
684
694
 
685
695
  self
686
696
  end
@@ -739,6 +749,7 @@ module ProcessOut
739
749
  self.billing = data.fetch(:billing, self.billing)
740
750
  self.unsupported_feature_bypass = data.fetch(:unsupported_feature_bypass, self.unsupported_feature_bypass)
741
751
  self.verification = data.fetch(:verification, self.verification)
752
+ self.auto_capture_at = data.fetch(:auto_capture_at, self.auto_capture_at)
742
753
 
743
754
  self
744
755
  end
@@ -1113,7 +1124,8 @@ module ProcessOut
1113
1124
  "payment_type" => @payment_type,
1114
1125
  "billing" => @billing,
1115
1126
  "unsupported_feature_bypass" => @unsupported_feature_bypass,
1116
- "verification" => @verification
1127
+ "verification" => @verification,
1128
+ "auto_capture_at" => @auto_capture_at
1117
1129
  }
1118
1130
 
1119
1131
  response = Response.new(request.post(path, data, options))
@@ -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.30.0"
16
+ req["User-Agent"] = "ProcessOut Ruby-Bindings/2.31.0"
17
17
 
18
18
  unless options.nil?
19
19
  req["Idempotency-Key"] = options.fetch(:idempotency_key, "")
@@ -1,3 +1,3 @@
1
1
  module ProcessOut
2
- VERSION = "2.30.0"
2
+ VERSION = "2.31.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.30.0
4
+ version: 2.31.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: 2024-04-03 00:00:00.000000000 Z
11
+ date: 2024-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  requirements: []
170
- rubygems_version: 3.0.3.1
170
+ rubygems_version: 3.4.20
171
171
  signing_key:
172
172
  specification_version: 4
173
173
  summary: Ruby bindings for the ProcessOut API