lib/stripe/resources/review.rb in stripe-4.21.1 vs lib/stripe/resources/review.rb in stripe-4.21.2
- old
+ new
@@ -8,9 +8,9 @@
custom_method :approve, http_verb: :post
def approve(params = {}, opts = {})
resp, opts = request(:post, resource_url + "/approve", params, opts)
- Util.convert_to_stripe_object(resp.data, opts)
+ initialize_from(resp.data, opts)
end
end
end