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 resource_url + '/close' end end end