Sha256: 4718ba55d55286d417d7fdf2a4aeb97aacc626e8a57c50f17e8a205b66a2f9a0

Contents?: true

Size: 438 Bytes

Versions: 16

Compression:

Stored size: 438 Bytes

Contents

module Stripe
  class Reversal < APIResource
    include Stripe::APIOperations::Update
    extend Stripe::APIOperations::List

    def url
      "#{Transfer.url}/#{CGI.escape(transfer)}/reversals/#{CGI.escape(id)}"
    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

16 entries across 16 versions & 1 rubygems

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