Sha256: debe363cc108189dc914536866fbbe7871046403af76a672f3578bf5eda12ad2
Contents?: true
Size: 367 Bytes
Versions: 12
Compression:
Stored size: 367 Bytes
Contents
# frozen_string_literal: true module Stripe class Review < APIResource extend Stripe::APIOperations::List OBJECT_NAME = "review".freeze custom_method :approve, http_verb: :post def approve(params = {}, opts = {}) resp, opts = request(:post, resource_url + "/approve", params, opts) initialize_from(resp.data, opts) end end end
Version data entries
12 entries across 12 versions & 2 rubygems