Sha256: a3eb845a61e0ec38383f68d217d1763c3bae81bd4a90c50c7cae3385f442fde1
Contents?: true
Size: 423 Bytes
Versions: 16
Compression:
Stored size: 423 Bytes
Contents
module Pingpp class Refund < APIResource include Pingpp::APIOperations::Update include Pingpp::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
16 entries across 16 versions & 1 rubygems