Sha256: 07dd1c7a0d0e30fb5e80c54cd2759a7fd3b93ae3ede023949528555daf96d6de

Contents?: true

Size: 429 Bytes

Versions: 39

Compression:

Stored size: 429 Bytes

Contents

# 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

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
stripe-6.3.0 lib/stripe/resources/review.rb
stripe-6.2.0 lib/stripe/resources/review.rb
stripe-6.1.0 lib/stripe/resources/review.rb
stripe-6.0.0 lib/stripe/resources/review.rb
stripe-5.55.0 lib/stripe/resources/review.rb
stripe-5.54.0 lib/stripe/resources/review.rb
stripe-5.53.0 lib/stripe/resources/review.rb
stripe-5.52.0 lib/stripe/resources/review.rb
stripe-5.50.0 lib/stripe/resources/review.rb
stripe-5.49.0 lib/stripe/resources/review.rb
stripe-5.48.0 lib/stripe/resources/review.rb
stripe-5.47.0 lib/stripe/resources/review.rb
stripe-5.46.0 lib/stripe/resources/review.rb
stripe-5.45.0 lib/stripe/resources/review.rb
stripe-5.44.0 lib/stripe/resources/review.rb
stripe-5.43.0 lib/stripe/resources/review.rb
stripe-5.42.0 lib/stripe/resources/review.rb
stripe-5.41.0 lib/stripe/resources/review.rb
stripe-5.40.0 lib/stripe/resources/review.rb
stripe-5.39.0 lib/stripe/resources/review.rb