lib/stripe/resources/tax_id.rb in stripe-4.24.0 vs lib/stripe/resources/tax_id.rb in stripe-5.0.0
- old
+ new
@@ -3,10 +3,10 @@
module Stripe
class TaxId < APIResource
include Stripe::APIOperations::Delete
extend Stripe::APIOperations::List
- OBJECT_NAME = "tax_id".freeze
+ OBJECT_NAME = "tax_id"
def resource_url
if !respond_to?(:customer) || customer.nil?
raise NotImplementedError,
"Tax IDs cannot be accessed without a customer ID."