lib/stripe/resources/review.rb in stripe-10.9.0.pre.beta.1 vs lib/stripe/resources/review.rb in stripe-10.9.0
- old
+ new
@@ -8,9 +8,12 @@
# [here](https://stripe.com/docs/radar/reviews).
class Review < APIResource
extend Stripe::APIOperations::List
OBJECT_NAME = "review"
+ def self.object_name
+ "review"
+ end
# Approves a Review object, closing it and removing it from the list of reviews.
def approve(params = {}, opts = {})
request_stripe_object(
method: :post,