Sha256: e05f111c52043f1d7e75e3cbdb69fb95e31b4a21057807c698fe10c68410ec49
Contents?: true
Size: 423 Bytes
Versions: 17
Compression:
Stored size: 423 Bytes
Contents
module Stripe class Refund < APIResource include Stripe::APIOperations::Update include Stripe::APIOperations::List def url "#{Charge.url}/#{CGI.escape(charge)}/refunds/#{CGI.escape(id)}" end def self.retrieve(id, api_key=nil) raise NotImplementedError.new("Refunds cannot be retrieved without a charge ID. Retrieve a refund using charge.refunds.retrieve('refund_id')") end end end
Version data entries
17 entries across 17 versions & 1 rubygems