mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-22 00:05:58 -05:00
Update generated code for v662 (#1288)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
This commit is contained in:
parent
625a58661e
commit
fe52fcd1e7
@ -1 +1 @@
|
||||
v640
|
||||
v662
|
||||
@ -40,9 +40,12 @@ module Stripe
|
||||
extend Stripe::APIOperations::List
|
||||
extend Stripe::APIOperations::Search
|
||||
include Stripe::APIOperations::Save
|
||||
extend Stripe::APIOperations::NestedResource
|
||||
|
||||
OBJECT_NAME = "invoice"
|
||||
|
||||
nested_resource_class_methods :line, operations: %i[update]
|
||||
|
||||
def finalize_invoice(params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
class InvoiceLineItem < StripeObject
|
||||
include Stripe::APIOperations::Save
|
||||
|
||||
OBJECT_NAME = "line_item"
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user