mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-22 00:05:58 -05:00
Remove the conflicting definition of transactions for transfers.
This commit is contained in:
parent
7f87b2bc4a
commit
c0999ac5bb
@ -1,16 +1,5 @@
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user