stripe 5.36.0 → 5.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: 9055258932833823356b606115c73e9a909bbfc2e6d70506e2c71d21e2176c27
4
- data.tar.gz: 4a7261f19e29f65407bff7ee8ae916c1b826e81ac4e1e9c102b6ac147c548b31
3
+ metadata.gz: 928fd2b57c804ad12eb84f5ba67805f90e83b8fa27bd38e08297fa7b27579807
4
+ data.tar.gz: 4daf5cd408e88a6eca255217b79b3f4859bb1ed611afb0cf18ffd08d0c006f1a
5
5
  SHA512:
6
- metadata.gz: bd7fa29256871a690e19758b6777d9ee58e51fa4cf0a7b3e576fac24deca605cdb400e7eb091378ff15540c1a48ccfd25ba0bb9befba04d6a92d95fb1202416b
7
- data.tar.gz: ce6d07144a874d49e088033645916e1aa09b2e5eedf787ea1eb182ef963ffddafd314d7442a258937e028b8d84ed04c00d02c68f6a93841a262dbd5bc6e5aecd
6
+ metadata.gz: 64c1879e61bd7df09a413be14ade50635fe415f8a6f1a398f06bda24bfecf83ee7911fcec436f2f7db77d64b1b3c8374d566ce3d63c78333f8ca0a634b0bff43
7
+ data.tar.gz: d47773322925f9e69d2e8e464c31f14df290cce83df961c2ef8e954dac06ba8e9cb53997fe6715f594afeec769ede09a395229d58ca1928b5166396f4e7c0efe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.37.0 - 2021-07-14
4
+ * [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
5
+ * Add support for `list_computed_upfront_line_items` method on resource `Quote`
6
+
3
7
  ## 5.36.0 - 2021-07-09
4
8
  * [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
5
9
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.36.0
1
+ 5.37.0
@@ -12,6 +12,7 @@ module Stripe
12
12
  custom_method :accept, http_verb: :post
13
13
  custom_method :cancel, http_verb: :post
14
14
  custom_method :finalize_quote, http_verb: :post, http_path: "finalize"
15
+ custom_method :list_computed_upfront_line_items, http_verb: :get, http_path: "computed_upfront_line_items"
15
16
  custom_method :list_line_items, http_verb: :get, http_path: "line_items"
16
17
 
17
18
  def accept(params = {}, opts = {})
@@ -41,6 +42,15 @@ module Stripe
41
42
  )
42
43
  end
43
44
 
45
+ def list_computed_upfront_line_items(params = {}, opts = {})
46
+ request_stripe_object(
47
+ method: :get,
48
+ path: resource_url + "/computed_upfront_line_items",
49
+ params: params,
50
+ opts: opts
51
+ )
52
+ end
53
+
44
54
  def list_line_items(params = {}, opts = {})
45
55
  request_stripe_object(
46
56
  method: :get,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "5.36.0"
4
+ VERSION = "5.37.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.36.0
4
+ version: 5.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-09 00:00:00.000000000 Z
11
+ date: 2021-07-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Stripe is the easiest way to accept payments online. See https://stripe.com
14
14
  for details.