mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-07 00:05:33 -04:00
Update generated code for v1301
This commit is contained in:
parent
ea01a5f86a
commit
2cc89bdf57
@ -1 +1 @@
|
||||
v1300
|
||||
v1301
|
@ -11,26 +11,5 @@ module Stripe
|
||||
def self.object_name
|
||||
"customer_cash_balance_transaction"
|
||||
end
|
||||
|
||||
def test_helpers
|
||||
TestHelpers.new(self)
|
||||
end
|
||||
|
||||
class TestHelpers < APIResourceTestHelpers
|
||||
RESOURCE_CLASS = CustomerCashBalanceTransaction
|
||||
def self.resource_class
|
||||
"CustomerCashBalanceTransaction"
|
||||
end
|
||||
|
||||
# Simulate various customer cash balance side-effects by creating synthetic cash balance transactions in testmode.
|
||||
def self.create(params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
path: "/v1/test_helpers/customer_cash_balance_transactions",
|
||||
params: params,
|
||||
opts: opts
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user