mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-09 00:01:53 -05:00
Update generated code for v513
This commit is contained in:
parent
2ebd8cc795
commit
65768f9ee1
@ -1 +1 @@
|
|||||||
v507
|
v513
|
||||||
@ -54,15 +54,6 @@ module Stripe
|
|||||||
)
|
)
|
||||||
end
|
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 = {})
|
def deliver_card(params = {}, opts = {})
|
||||||
@resource.request_stripe_object(
|
@resource.request_stripe_object(
|
||||||
method: :post,
|
method: :post,
|
||||||
@ -98,15 +89,6 @@ module Stripe
|
|||||||
opts: opts
|
opts: opts
|
||||||
)
|
)
|
||||||
end
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user