stripe 11.5.0 → 11.6.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: 2c70f8c42f98a14ad002f9d074005bfa0b7ac74df192b68dafaa520a9adbf047
4
- data.tar.gz: 3c53180237646425128533e152fdf35e2b3fd38830e741c3d0c2f47f28eaf811
3
+ metadata.gz: 61738b3490f8138c890570db51cd52e07ce21bfcd9c87643bfb2ba2401883bfa
4
+ data.tar.gz: 99794dd0299074291bbc59ad2b8d50d61b2a28ee15e98c646e1872f29c67b790
5
5
  SHA512:
6
- metadata.gz: f22058b920b174ff4a03b1d2510e8042feb668c4090af057884efbda4abf0860e85838fd19b73c82cdcda34955a1071a5d8aa0ebd8d12ca04fd86bb0e09c0b73
7
- data.tar.gz: 7eec8fc917b6e8d6cbdae83fcde6ab60eb722a4418cb175c81cf4baf96386997cdc54c4cfbf1ae36f28e1ceb16952e3e65c91a4b45b1d69897fb91f2c8f70280
6
+ metadata.gz: 768ee56dd32bab0c28faabbfd4ff48dfa65eaf678f0f980070b03a99d7d3a799cd1776a0b7866b7673af64b4daf677a7cab17f345ea92d38212873f54d245391
7
+ data.tar.gz: ec247194d6b320a618ec972f7daaf3a2ff0dc70c244c97d5d46f332723e29f2d7e90bdcf302320a2bc8600af79c135aa552c30a96bc6390aa14817299d7c2c85
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
+ ## 11.6.0 - 2024-05-30
3
+ * [#1404](https://github.com/stripe/stripe-ruby/pull/1404) Add method to list invoice line items
4
+ * Add methods `list_lines()` on the class `Invoice` to list the invoice line items
5
+
2
6
  ## 11.5.0 - 2024-05-23
3
- * [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
7
+ * This release has no changes.
4
8
 
5
9
  ## 11.4.0 - 2024-05-09
6
10
  * [#1397](https://github.com/stripe/stripe-ruby/pull/1397) Update generated code
@@ -26,12 +30,12 @@
26
30
  * Add support for new resource `Entitlements.ActiveEntitlementSummary`
27
31
 
28
32
  ## 11.0.0 - 2024-04-10
29
- * [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
30
-
33
+ * [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
34
+
31
35
  * This release changes the pinned API version to `2024-04-10`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-04-10) and carefully review the API changes before upgrading.
32
-
36
+
33
37
  ### ⚠️ Breaking changes
34
-
38
+
35
39
  * When no `x-stripe-should-retry` header is set in the response, the library now retries all requests with `status >= 500`, not just non-POST methods.
36
40
 
37
41
  ## 10.15.0 - 2024-04-09
data/VERSION CHANGED
@@ -1 +1 @@
1
- 11.5.0
1
+ 11.6.0
@@ -38,6 +38,7 @@ module Stripe
38
38
  extend Stripe::APIOperations::Create
39
39
  include Stripe::APIOperations::Delete
40
40
  extend Stripe::APIOperations::List
41
+ extend Stripe::APIOperations::NestedResource
41
42
  extend Stripe::APIOperations::Search
42
43
  include Stripe::APIOperations::Save
43
44
 
@@ -46,6 +47,8 @@ module Stripe
46
47
  "invoice"
47
48
  end
48
49
 
50
+ nested_resource_class_methods :line, operations: %i[list]
51
+
49
52
  # This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or <a href="#send_invoice">send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers.
50
53
  def self.create(params = {}, opts = {})
51
54
  request_stripe_object(method: :post, path: "/v1/invoices", params: params, opts: opts)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "11.5.0"
4
+ VERSION = "11.6.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: 11.5.0
4
+ version: 11.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-23 00:00:00.000000000 Z
11
+ date: 2024-05-30 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.