Skip to content

Commit

Permalink
Update generated code for v1306
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Oct 17, 2024
1 parent 14ec67c commit 6b8c0fe
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 32 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1302
v1306
20 changes: 0 additions & 20 deletions lib/stripe/resources/treasury/inbound_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,6 @@ def self.cancel(inbound_transfer, params = {}, opts = {})
)
end

# Confirm an InboundTransfer.
def confirm(params = {}, opts = {})
request_stripe_object(
method: :post,
path: format("/v1/treasury/inbound_transfers/%<inbound_transfer>s/confirm", { inbound_transfer: CGI.escape(self["id"]) }),
params: params,
opts: opts
)
end

# Confirm an InboundTransfer.
def self.confirm(inbound_transfer, params = {}, opts = {})
request_stripe_object(
method: :post,
path: format("/v1/treasury/inbound_transfers/%<inbound_transfer>s/confirm", { inbound_transfer: CGI.escape(inbound_transfer) }),
params: params,
opts: opts
)
end

# Creates an InboundTransfer.
def self.create(params = {}, opts = {})
request_stripe_object(
Expand Down
11 changes: 0 additions & 11 deletions lib/stripe/services/treasury/inbound_transfer_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,6 @@ def cancel(inbound_transfer, params = {}, opts = {})
)
end

# Confirm an InboundTransfer.
def confirm(inbound_transfer, params = {}, opts = {})
request(
method: :post,
path: format("/v1/treasury/inbound_transfers/%<inbound_transfer>s/confirm", { inbound_transfer: CGI.escape(inbound_transfer) }),
params: params,
opts: opts,
base_address: :api
)
end

# Creates an InboundTransfer.
def create(params = {}, opts = {})
request(
Expand Down

0 comments on commit 6b8c0fe

Please sign in to comment.