Sha256: f19e67755e8d7143d6e692fca55775c7700439bede427f109116b99f41801da8

Contents?: true

Size: 469 Bytes

Versions: 9

Compression:

Stored size: 469 Bytes

Contents

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

    def resource_url
      "#{ApplicationFee.resource_url}/#{CGI.escape(fee)}/refunds/#{CGI.escape(id)}"
    end

    def self.retrieve(id, api_key=nil)
      raise NotImplementedError.new("Refunds cannot be retrieved without an application fee ID. Retrieve a refund using appfee.refunds.retrieve('refund_id')")
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
stripe-1.43.1 lib/stripe/application_fee_refund.rb
stripe-1.43.0 lib/stripe/application_fee_refund.rb
stripe-1.42.0 lib/stripe/application_fee_refund.rb
stripe-1.41.0 lib/stripe/application_fee_refund.rb
stripe-1.40.0 lib/stripe/application_fee_refund.rb
stripe-1.39.0 lib/stripe/application_fee_refund.rb
stripe-1.38.0 lib/stripe/application_fee_refund.rb
stripe-1.37.0 lib/stripe/application_fee_refund.rb
stripe-1.36.2 lib/stripe/application_fee_refund.rb