Skip to content

Commit

Permalink
Update generated code for v513
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Sep 6, 2023
1 parent 2ebd8cc commit 65768f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v507
v513
18 changes: 0 additions & 18 deletions lib/stripe/resources/issuing/card.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,6 @@ def self.ship_card(card, params = {}, opts = {})
)
end

def self.submit_card(card, params = {}, opts = {})
request_stripe_object(
method: :post,
path: format("/v1/test_helpers/issuing/cards/%<card>s/shipping/submit", { card: CGI.escape(card) }),
params: params,
opts: opts
)
end

def deliver_card(params = {}, opts = {})
@resource.request_stripe_object(
method: :post,
Expand Down Expand Up @@ -98,15 +89,6 @@ def ship_card(params = {}, opts = {})
opts: opts
)
end

def submit_card(params = {}, opts = {})
@resource.request_stripe_object(
method: :post,
path: format("/v1/test_helpers/issuing/cards/%<card>s/shipping/submit", { card: CGI.escape(@resource["id"]) }),
params: params,
opts: opts
)
end
end
end
end
Expand Down

0 comments on commit 65768f9

Please sign in to comment.