mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-22 00:05:58 -05:00
Merge upstream and update generated code for v1011
This commit is contained in:
commit
318bed2067
4
Gemfile
4
Gemfile
@ -27,10 +27,6 @@ group :development do
|
||||
# The latest version of rubocop is only compatible with Ruby 2.7+
|
||||
gem "rubocop", "1.57.2" if RUBY_VERSION >= "2.7"
|
||||
|
||||
# jaro_winkler 1.5.5 installation fails for jruby
|
||||
# don't install on truffleruby
|
||||
gem "jaro_winkler", "1.5.4" unless RUBY_ENGINE == "truffleruby"
|
||||
|
||||
gem "sorbet"
|
||||
gem "tapioca"
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
v1009
|
||||
v1011
|
||||
@ -124,6 +124,26 @@ module Stripe
|
||||
opts: opts
|
||||
)
|
||||
end
|
||||
|
||||
# Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states.
|
||||
def self.update(id, params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
path: format("/v1/test_helpers/treasury/outbound_payments/%<id>s", { id: CGI.escape(id) }),
|
||||
params: params,
|
||||
opts: opts
|
||||
)
|
||||
end
|
||||
|
||||
# Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states.
|
||||
def update(params = {}, opts = {})
|
||||
@resource.request_stripe_object(
|
||||
method: :post,
|
||||
path: format("/v1/test_helpers/treasury/outbound_payments/%<id>s", { id: CGI.escape(@resource["id"]) }),
|
||||
params: params,
|
||||
opts: opts
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@ -124,6 +124,26 @@ module Stripe
|
||||
opts: opts
|
||||
)
|
||||
end
|
||||
|
||||
# Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states.
|
||||
def self.update(outbound_transfer, params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
path: format("/v1/test_helpers/treasury/outbound_transfers/%<outbound_transfer>s", { outbound_transfer: CGI.escape(outbound_transfer) }),
|
||||
params: params,
|
||||
opts: opts
|
||||
)
|
||||
end
|
||||
|
||||
# Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states.
|
||||
def update(params = {}, opts = {})
|
||||
@resource.request_stripe_object(
|
||||
method: :post,
|
||||
path: format("/v1/test_helpers/treasury/outbound_transfers/%<outbound_transfer>s", { outbound_transfer: CGI.escape(@resource["id"]) }),
|
||||
params: params,
|
||||
opts: opts
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user