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 +4 -4
- data/CHANGELOG.md +9 -5
- data/VERSION +1 -1
- data/lib/stripe/resources/invoice.rb +3 -0
- data/lib/stripe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61738b3490f8138c890570db51cd52e07ce21bfcd9c87643bfb2ba2401883bfa
|
4
|
+
data.tar.gz: 99794dd0299074291bbc59ad2b8d50d61b2a28ee15e98c646e1872f29c67b790
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
*
|
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.
|
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)
|
data/lib/stripe/version.rb
CHANGED
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.
|
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-
|
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.
|