Sha256: 45cccb35d4820ac1fa4bfad5c7b6d60278f6950b070af2cb803f935c1275979e

Contents?: true

Size: 452 Bytes

Versions: 24

Compression:

Stored size: 452 Bytes

Contents

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

    def url
      "#{ApplicationFee.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

24 entries across 24 versions & 1 rubygems

Version Path
stripe-1.28.1 lib/stripe/application_fee_refund.rb
stripe-1.28.0 lib/stripe/application_fee_refund.rb
stripe-1.27.2 lib/stripe/application_fee_refund.rb
stripe-1.27.1 lib/stripe/application_fee_refund.rb
stripe-1.27.0 lib/stripe/application_fee_refund.rb
stripe-1.26.0 lib/stripe/application_fee_refund.rb
stripe-1.25.0 lib/stripe/application_fee_refund.rb
stripe-1.24.0 lib/stripe/application_fee_refund.rb
stripe-1.23.0 lib/stripe/application_fee_refund.rb
stripe-1.22.0 lib/stripe/application_fee_refund.rb
stripe-1.21.0 lib/stripe/application_fee_refund.rb
stripe-1.20.4 lib/stripe/application_fee_refund.rb
stripe-1.20.3 lib/stripe/application_fee_refund.rb
stripe-1.20.2 lib/stripe/application_fee_refund.rb
stripe-1.20.1 lib/stripe/application_fee_refund.rb
stripe-1.20.0 lib/stripe/application_fee_refund.rb
stripe-1.19.0 lib/stripe/application_fee_refund.rb
stripe-1.18.0 lib/stripe/application_fee_refund.rb
stripe-1.17.3 lib/stripe/application_fee_refund.rb
stripe-1.17.2 lib/stripe/application_fee_refund.rb