mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-07-21 00:00:32 -04:00
Compare commits
3 Commits
76227029e7
...
9cb048b053
Author | SHA1 | Date | |
---|---|---|---|
|
9cb048b053 | ||
|
d40be17ff2 | ||
|
4b425a8fc6 |
@ -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`
|
||||
|
@ -1 +1 @@
|
||||
v580
|
||||
v603
|
@ -3,6 +3,6 @@
|
||||
|
||||
module Stripe
|
||||
module ApiVersion
|
||||
CURRENT = "2023-08-16"
|
||||
CURRENT = "2023-10-16"
|
||||
end
|
||||
end
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
VERSION = "9.4.0"
|
||||
VERSION = "10.0.0"
|
||||
end
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user