Sha256: f99ab7979f56287fe9641f72c8b1d9e5b638414707574e793e06d90b908cadc2

Contents?: true

Size: 368 Bytes

Versions: 14

Compression:

Stored size: 368 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)
      initialize_from(response, opts)
    end

    def close_url
      url + '/close'
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
stripe-1.36.1 lib/stripe/dispute.rb
stripe-1.36.0 lib/stripe/dispute.rb
stripe-1.35.1 lib/stripe/dispute.rb
stripe-1.35.0 lib/stripe/dispute.rb
stripe-1.34.0 lib/stripe/dispute.rb
stripe-1.33.1 lib/stripe/dispute.rb
stripe-1.33.0 lib/stripe/dispute.rb
stripe-1.32.1 lib/stripe/dispute.rb
stripe-1.32.0 lib/stripe/dispute.rb
stripe-1.31.0 lib/stripe/dispute.rb
stripe-1.30.3 lib/stripe/dispute.rb
stripe-1.30.2 lib/stripe/dispute.rb
stripe-1.30.1 lib/stripe/dispute.rb
stripe-1.30.0 lib/stripe/dispute.rb