Sha256: 631a896a71210aa7bdb98273509e021f273aa81051e2a50e1f96780ce15181b9

Contents?: true

Size: 327 Bytes

Versions: 15

Compression:

Stored size: 327 Bytes

Contents

module Stripe
  class Recipient < APIResource
    extend Stripe::APIOperations::Create
    include Stripe::APIOperations::Delete
    include Stripe::APIOperations::Save
    extend Stripe::APIOperations::List

    OBJECT_NAME = 'recipient'

    def transfers
      Transfer.all({ :recipient => id }, @api_key)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
stripe-3.3.2 lib/stripe/recipient.rb
stripe-3.3.1 lib/stripe/recipient.rb
stripe-3.3.0 lib/stripe/recipient.rb
stripe-3.2.0 lib/stripe/recipient.rb
stripe-3.1.0 lib/stripe/recipient.rb
stripe-3.0.3 lib/stripe/recipient.rb
stripe-3.0.1 lib/stripe/recipient.rb
stripe-3.0.0 lib/stripe/recipient.rb
stripe-2.12.0 lib/stripe/recipient.rb
stripe-2.11.0 lib/stripe/recipient.rb
stripe-2.10.0 lib/stripe/recipient.rb
stripe-2.9.0 lib/stripe/recipient.rb
stripe-2.8.0 lib/stripe/recipient.rb
stripe-2.7.0 lib/stripe/recipient.rb
stripe-2.6.0 lib/stripe/recipient.rb