Sha256: ede9dde86650e1951627a8ac1d2ae623f070409468b2e90da13878aef8505e05

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 Bytes

Contents

module Stripe
  class Dispute < APIResource
    extend Stripe::APIOperations::List
    extend Stripe::APIOperations::Create
    include Stripe::APIOperations::Update

    def close(params={}, opts={})
      response, opts = request(:post, close_url, params, opts)
      refresh_from(response, opts)
    end

    def close_url
      url + '/close'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stripe-1.29.1 lib/stripe/dispute.rb
stripe-1.29.0 lib/stripe/dispute.rb