mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
16 lines
405 B
Ruby
16 lines
405 B
Ruby
module Stripe
|
|
# Recipients objects are deprecated. Please use Stripe Connect instead.
|
|
class Recipient < APIResource
|
|
extend Stripe::APIOperations::Create
|
|
include Stripe::APIOperations::Delete
|
|
include Stripe::APIOperations::Save
|
|
extend Stripe::APIOperations::List
|
|
|
|
OBJECT_NAME = "recipient".freeze
|
|
|
|
def transfers
|
|
Transfer.all({ recipient: id }, @api_key)
|
|
end
|
|
end
|
|
end
|