mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-05-31 00:00:37 -04:00
17 lines
349 B
Ruby
17 lines
349 B
Ruby
module Stripe
|
|
class Transfer < APIResource
|
|
include Stripe::APIOperations::List
|
|
|
|
def transactions(params={})
|
|
response, api_key = Stripe.request(:get, transactions_url, @api_key, params)
|
|
Util.convert_to_stripe_object(response, api_key)
|
|
end
|
|
|
|
private
|
|
|
|
def transactions_url
|
|
url + '/transactions'
|
|
end
|
|
end
|
|
end
|