You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered the following error when executing the update method of Stripe::InvoiceLineItem.
NoMethodError:
undefined method `request_stripe_object' for class Stripe::InvoiceLineItem
#*/stripe-13.4.1/lib/stripe/resources/invoice_line_item.rb:21:in `update'
To Reproduce
Generate an invoice with at least one line item.
Find the line item ID by inspecting Stripe::Invoice.retrieve(...).lines.data
Execute a request using the specified syntax: Stripe::InvoiceLineItem.update(<invoice.id>, <line_item.id>, {...})
Expected behavior
Change the inheritance source of Stripe::InvoiceLineItem from StripeObject to APIResource.
OS
macOS
Language version
Ruby 3.3.2
Library version
stripe-ruby 13.4.1
API version
2025-01-27
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I encountered the following error when executing the update method of Stripe::InvoiceLineItem.
To Reproduce
Expected behavior
Change the inheritance source of Stripe::InvoiceLineItem from StripeObject to APIResource.
OS
macOS
Language version
Ruby 3.3.2
Library version
stripe-ruby 13.4.1
API version
2025-01-27
Additional context
No response
The text was updated successfully, but these errors were encountered: