Sha256: 907d2f2b76eef50d3f98d4953a808bb587b3d30358139e8a15842f2bb104f82a
Contents?: true
Size: 767 Bytes
Versions: 46
Compression:
Stored size: 767 Bytes
Contents
# frozen_string_literal: true module Stripe class ApplicationFeeRefund < APIResource include Stripe::APIOperations::Save extend Stripe::APIOperations::List OBJECT_NAME = "fee_refund".freeze def resource_url "#{ApplicationFee.resource_url}/#{CGI.escape(fee)}/refunds/#{CGI.escape(id)}" end def self.update(_id, _params = nil, _opts = nil) raise NotImplementedError, "Refunds cannot be updated without an application fee ID. Update a refund by using `a = appfee.refunds.retrieve('refund_id'); a.save`" end def self.retrieve(_id, _api_key = nil) raise NotImplementedError, "Refunds cannot be retrieved without an application fee ID. Retrieve a refund using appfee.refunds.retrieve('refund_id')" end end end
Version data entries
46 entries across 46 versions & 1 rubygems