Compare commits

..

3 Commits

Author SHA1 Message Date
Pavel Krymets
9cb048b053 Bump version to 10.0.0 2023-10-16 13:31:32 -07:00
stripe-openapi[bot]
d40be17ff2
Update generated code for v603 (#1283)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2023-10-16 13:23:14 -07:00
stripe-openapi[bot]
4b425a8fc6
Update generated code (#1281)
* Update generated code for v599

* Update generated code for v601

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2023-10-16 10:54:27 -07:00
8 changed files with 35 additions and 8 deletions

View File

@ -1,4 +1,11 @@
# Changelog
## 10.0.0 - 2023-10-16
* This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
* [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
- Updated pinned API version
* [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
* Documentation only changes
## 9.4.0 - 2023-10-05
* [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
* Add support for new resources `Issuing.Token`

View File

@ -1 +1 @@
v580
v603

View File

@ -1 +1 @@
9.4.0
10.0.0

View File

@ -3,6 +3,6 @@
module Stripe
module ApiVersion
CURRENT = "2023-08-16"
CURRENT = "2023-10-16"
end
end

View File

@ -3,7 +3,7 @@
module Stripe
module Issuing
# An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://stripe.com/docs/issuing), you can view and manage these tokens through Stripe.
# An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://stripe.com/docs/issuing), you can [view and manage these tokens](https://stripe.com/docs/issuing/controls/token-management) through Stripe.
class Token < APIResource
extend Stripe::APIOperations::List
include Stripe::APIOperations::Save

View File

@ -14,7 +14,7 @@ module Stripe
#
# Related guides:
# - [Payment Method Configurations API](https://stripe.com/docs/connect/payment-method-configurations)
# - [Multiple payment method configurations on dynamic payment methods](https://stripe.com/docs/payments/multiple-payment-method-configs)
# - [Multiple configurations on dynamic payment methods](https://stripe.com/docs/payments/multiple-payment-method-configs)
# - [Multiple configurations for your Connect accounts](https://stripe.com/docs/connect/multiple-payment-method-configurations)
class PaymentMethodConfiguration < APIResource
extend Stripe::APIOperations::Create

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module Stripe
VERSION = "9.4.0"
VERSION = "10.0.0"
end

View File

@ -602,6 +602,26 @@ module Stripe
Stripe::Account.list_external_accounts("acct_xxxxxxxxxxxxx", { limit: 3 })
assert_requested :get, "#{Stripe.api_base}/v1/accounts/acct_xxxxxxxxxxxxx/external_accounts?limit=3"
end
should "support requests with args: object, limit, parent_id" do
Stripe::Account.list_external_accounts(
"acct_xxxxxxxxxxxxx",
{
object: "bank_account",
limit: 3,
}
)
assert_requested :get, "#{Stripe.api_base}/v1/accounts/acct_xxxxxxxxxxxxx/external_accounts?object=bank_account&limit=3"
end
should "support requests with args: object, limit, parent_id2" do
Stripe::Account.list_external_accounts(
"acct_xxxxxxxxxxxxx",
{
object: "card",
limit: 3,
}
)
assert_requested :get, "#{Stripe.api_base}/v1/accounts/acct_xxxxxxxxxxxxx/external_accounts?object=card&limit=3"
end
end
context "ExternalAccount.update" do
should "support requests with args: metadata, parent_id, id" do