Sha256: d080557af09bf975bee4dce021cb349760cce233a01db153b144f1172e19b177

Contents?: true

Size: 465 Bytes

Versions: 39

Compression:

Stored size: 465 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class Dispute < APIResource
    extend Stripe::APIOperations::List
    include Stripe::APIOperations::Save

    OBJECT_NAME = "dispute"

    custom_method :close, http_verb: :post

    def close(params = {}, opts = {})
      request_stripe_object(
        method: :post,
        path: resource_url + "/close",
        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/dispute.rb
stripe-6.2.0 lib/stripe/resources/dispute.rb
stripe-6.1.0 lib/stripe/resources/dispute.rb
stripe-6.0.0 lib/stripe/resources/dispute.rb
stripe-5.55.0 lib/stripe/resources/dispute.rb
stripe-5.54.0 lib/stripe/resources/dispute.rb
stripe-5.53.0 lib/stripe/resources/dispute.rb
stripe-5.52.0 lib/stripe/resources/dispute.rb
stripe-5.50.0 lib/stripe/resources/dispute.rb
stripe-5.49.0 lib/stripe/resources/dispute.rb
stripe-5.48.0 lib/stripe/resources/dispute.rb
stripe-5.47.0 lib/stripe/resources/dispute.rb
stripe-5.46.0 lib/stripe/resources/dispute.rb
stripe-5.45.0 lib/stripe/resources/dispute.rb
stripe-5.44.0 lib/stripe/resources/dispute.rb
stripe-5.43.0 lib/stripe/resources/dispute.rb
stripe-5.42.0 lib/stripe/resources/dispute.rb
stripe-5.41.0 lib/stripe/resources/dispute.rb
stripe-5.40.0 lib/stripe/resources/dispute.rb
stripe-5.39.0 lib/stripe/resources/dispute.rb