Sha256: 9fae12f6d4c28ca671fbfdcb04053aa500ccfb9b8ee9abc6de89e93d5c9e0772
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
module Paid class Customer < APIResource include Paid::APIOperations::Create include Paid::APIOperations::Delete include Paid::APIOperations::Update include Paid::APIOperations::List def invoices Invoice.all({ :customer => id }, @api_key) end def transactions Transaction.all({ :customer => id }, @api_key) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
paid-0.0.2 | lib/paid/customer.rb |
paid-0.0.1 | lib/paid/customer.rb |