Sha256: 988e8aa2a97da68f80b5ecc6d75628ebd8c863380cffcd75a61b15c36be10b01

Contents?: true

Size: 451 Bytes

Versions: 16

Compression:

Stored size: 451 Bytes

Contents

module Stripe
  class ApplicationFeeRefund < APIResource
    include Stripe::APIOperations::Update
    extend 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

16 entries across 16 versions & 1 rubygems

Version Path
stripe-1.36.1 lib/stripe/application_fee_refund.rb
stripe-1.36.0 lib/stripe/application_fee_refund.rb
stripe-1.35.1 lib/stripe/application_fee_refund.rb
stripe-1.35.0 lib/stripe/application_fee_refund.rb
stripe-1.34.0 lib/stripe/application_fee_refund.rb
stripe-1.33.1 lib/stripe/application_fee_refund.rb
stripe-1.33.0 lib/stripe/application_fee_refund.rb
stripe-1.32.1 lib/stripe/application_fee_refund.rb
stripe-1.32.0 lib/stripe/application_fee_refund.rb
stripe-1.31.0 lib/stripe/application_fee_refund.rb
stripe-1.30.3 lib/stripe/application_fee_refund.rb
stripe-1.30.2 lib/stripe/application_fee_refund.rb
stripe-1.30.1 lib/stripe/application_fee_refund.rb
stripe-1.30.0 lib/stripe/application_fee_refund.rb
stripe-1.29.1 lib/stripe/application_fee_refund.rb
stripe-1.29.0 lib/stripe/application_fee_refund.rb