mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
22 lines
429 B
Ruby
22 lines
429 B
Ruby
# File generated from our OpenAPI spec
|
|
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
class Review < APIResource
|
|
extend Stripe::APIOperations::List
|
|
|
|
OBJECT_NAME = "review"
|
|
|
|
custom_method :approve, http_verb: :post
|
|
|
|
def approve(params = {}, opts = {})
|
|
request_stripe_object(
|
|
method: :post,
|
|
path: resource_url + "/approve",
|
|
params: params,
|
|
opts: opts
|
|
)
|
|
end
|
|
end
|
|
end
|