Skip to content

Commit

Permalink
Remove all list operations in child resources
Browse files Browse the repository at this point in the history
  • Loading branch information
helenye-stripe committed Jan 30, 2024
1 parent de8d64f commit 9ba3d85
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion lib/stripe/resources/application_fee_refund.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module Stripe
#
# Related guide: [Refunding application fees](https://stripe.com/docs/connect/destination-charges#refunding-app-fee)
class ApplicationFeeRefund < APIResource
extend Stripe::APIOperations::List
include Stripe::APIOperations::Save

OBJECT_NAME = "fee_refund"
Expand Down
1 change: 0 additions & 1 deletion lib/stripe/resources/capability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module Stripe
#
# Related guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities)
class Capability < APIResource
extend Stripe::APIOperations::List
include Stripe::APIOperations::Save

OBJECT_NAME = "capability"
Expand Down
1 change: 0 additions & 1 deletion lib/stripe/resources/customer_balance_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module Stripe
#
# Related guide: [Customer balance](https://stripe.com/docs/billing/customer/balance)
class CustomerBalanceTransaction < APIResource
extend Stripe::APIOperations::List
include Stripe::APIOperations::Save

OBJECT_NAME = "customer_balance_transaction"
Expand Down
2 changes: 0 additions & 2 deletions lib/stripe/resources/customer_cash_balance_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ module Stripe
# represent when funds are moved into or out of this balance. This includes funding by the customer, allocation
# to payments, and refunds to the customer.
class CustomerCashBalanceTransaction < APIResource
extend Stripe::APIOperations::List

OBJECT_NAME = "customer_cash_balance_transaction"
end
end
1 change: 0 additions & 1 deletion lib/stripe/resources/person.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module Stripe
#
# Related guide: [Handling identity verification with the API](https://stripe.com/docs/connect/handling-api-verification#person-information)
class Person < APIResource
extend Stripe::APIOperations::List
include Stripe::APIOperations::Save

OBJECT_NAME = "person"
Expand Down
1 change: 0 additions & 1 deletion lib/stripe/resources/reversal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ module Stripe
#
# Related guide: [Reversing transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#reversing-transfers)
class Reversal < APIResource
extend Stripe::APIOperations::List
include Stripe::APIOperations::Save

OBJECT_NAME = "transfer_reversal"
Expand Down
1 change: 0 additions & 1 deletion lib/stripe/resources/tax_id.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module Stripe
# Related guides: [Customer tax identification numbers](https://stripe.com/docs/billing/taxes/tax-ids), [Account tax IDs](https://stripe.com/docs/invoicing/connect#account-tax-ids)
class TaxId < APIResource
include Stripe::APIOperations::Delete
extend Stripe::APIOperations::List

OBJECT_NAME = "tax_id"

Expand Down

0 comments on commit 9ba3d85

Please sign in to comment.