Sha256: da5297dbcdbf9d392125676112ca9f340e4e8c595c0ce0f654876ccc7806b870

Contents?: true

Size: 364 Bytes

Versions: 5

Compression:

Stored size: 364 Bytes

Contents

module Stripe
  class ApplicationFee < APIResource
    extend Stripe::APIOperations::List

    def self.url
      '/v1/application_fees'
    end

    def refund(params={}, opts={})
      response, opts = request(:post, refund_url, params, opts)
      initialize_from(response, opts)
    end

    private

    def refund_url
      url + '/refund'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stripe-1.31.0 lib/stripe/application_fee.rb
stripe-1.30.3 lib/stripe/application_fee.rb
stripe-1.30.2 lib/stripe/application_fee.rb
stripe-1.30.1 lib/stripe/application_fee.rb
stripe-1.30.0 lib/stripe/application_fee.rb