lib/stripe/product.rb in stripe-1.36.1 vs lib/stripe/product.rb in stripe-1.36.2
- old
+ new
@@ -2,16 +2,7 @@
class Product < APIResource
extend Stripe::APIOperations::List
extend Stripe::APIOperations::Create
include Stripe::APIOperations::Update
include Stripe::APIOperations::Delete
-
- # Keep APIResource#url as `api_url` to avoid letting the external URL
- # replace the Stripe URL.
- alias_method :api_url, :url
-
- # Override Stripe::APIOperations::Update#save to explicitly pass URL.
- def save
- super(:req_url => api_url)
- end
end
end