mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-07-21 00:00:32 -04:00
Compare commits
3 Commits
0055df9a63
...
a7f1c57f2c
Author | SHA1 | Date | |
---|---|---|---|
|
a7f1c57f2c | ||
|
7be7413461 | ||
|
42f0c2c9d4 |
@ -1 +1 @@
|
|||||||
v591
|
v601
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
module Stripe
|
module Stripe
|
||||||
module Issuing
|
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
|
class Token < APIResource
|
||||||
extend Stripe::APIOperations::List
|
extend Stripe::APIOperations::List
|
||||||
include Stripe::APIOperations::Save
|
include Stripe::APIOperations::Save
|
||||||
|
@ -14,7 +14,7 @@ module Stripe
|
|||||||
#
|
#
|
||||||
# Related guides:
|
# Related guides:
|
||||||
# - [Payment Method Configurations API](https://stripe.com/docs/connect/payment-method-configurations)
|
# - [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)
|
# - [Multiple configurations for your Connect accounts](https://stripe.com/docs/connect/multiple-payment-method-configurations)
|
||||||
class PaymentMethodConfiguration < APIResource
|
class PaymentMethodConfiguration < APIResource
|
||||||
extend Stripe::APIOperations::Create
|
extend Stripe::APIOperations::Create
|
||||||
|
@ -602,6 +602,26 @@ module Stripe
|
|||||||
Stripe::Account.list_external_accounts("acct_xxxxxxxxxxxxx", { limit: 3 })
|
Stripe::Account.list_external_accounts("acct_xxxxxxxxxxxxx", { limit: 3 })
|
||||||
assert_requested :get, "#{Stripe.api_base}/v1/accounts/acct_xxxxxxxxxxxxx/external_accounts?limit=3"
|
assert_requested :get, "#{Stripe.api_base}/v1/accounts/acct_xxxxxxxxxxxxx/external_accounts?limit=3"
|
||||||
end
|
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
|
end
|
||||||
context "ExternalAccount.update" do
|
context "ExternalAccount.update" do
|
||||||
should "support requests with args: metadata, parent_id, id" do
|
should "support requests with args: metadata, parent_id, id" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user