Sha256: b77c3064200ecea94de01fda83b2e9ec33269015d5a96f5906bc359d0daf5305

Contents?: true

Size: 331 Bytes

Versions: 10

Compression:

Stored size: 331 Bytes

Contents

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

    def close(params={}, opts={})
      resp, opts = request(:post, close_url, params, opts)
      initialize_from(resp.data, opts)
    end

    def close_url
      resource_url + '/close'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stripe-2.5.0 lib/stripe/dispute.rb
stripe-2.4.0 lib/stripe/dispute.rb
stripe-2.3.0 lib/stripe/dispute.rb
stripe-2.2.1 lib/stripe/dispute.rb
stripe-2.2.0 lib/stripe/dispute.rb
stripe-2.1.0 lib/stripe/dispute.rb
stripe-2.0.3 lib/stripe/dispute.rb
stripe-2.0.2 lib/stripe/dispute.rb
stripe-2.0.1 lib/stripe/dispute.rb
stripe-2.0.0 lib/stripe/dispute.rb