Sha256: 2edf6883b5ecefad1e034fecdf7a44094fe1952566af519675882ce0a30173cd
Contents?: true
Size: 680 Bytes
Versions: 10
Compression:
Stored size: 680 Bytes
Contents
module Stripe class Reversal < APIResource extend Stripe::APIOperations::List include Stripe::APIOperations::Save def resource_url "#{Transfer.resource_url}/#{CGI.escape(transfer)}/reversals/#{CGI.escape(id)}" end def self.update(id, params=nil, opts=nil) raise NotImplementedError.new("Reversals cannot be updated without a transfer ID. Update a reversal using `r = transfer.reversals.retrieve('reversal_id'); r.save`") end def self.retrieve(id, opts={}) raise NotImplementedError.new("Reversals cannot be retrieved without a transfer ID. Retrieve a reversal using transfer.reversals.retrieve('reversal_id')") end end end
Version data entries
10 entries across 10 versions & 1 rubygems