Skip to content

Commit

Permalink
Update generated code for v669 (#1290)
Browse files Browse the repository at this point in the history
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Nov 16, 2023
1 parent fe52fcd commit 7a81aca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v662
v669
3 changes: 0 additions & 3 deletions lib/stripe/resources/invoice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,9 @@ class Invoice < APIResource
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,
Expand Down
2 changes: 0 additions & 2 deletions lib/stripe/resources/invoice_line_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

module Stripe
class InvoiceLineItem < StripeObject
include Stripe::APIOperations::Save

OBJECT_NAME = "line_item"
end
end

0 comments on commit 7a81aca

Please sign in to comment.