lib/octobat/customer.rb in octobat-2.0.2 vs lib/octobat/customer.rb in octobat-2.0.3
- old
+ new
@@ -1,10 +1,11 @@
module Octobat
class Customer < APIResource
extend Octobat::APIOperations::List
include Octobat::APIOperations::Create
include Octobat::APIOperations::Update
+ include Octobat::APIOperations::Delete
def invoices(params = {})
Invoice.all(params.merge({ :customer => id }), @api_key)
end
@@ -13,8 +14,7 @@
end
def payment_sources(params = {})
PaymentSource.all(params.merge({ :customer => id }), @api_key)
end
-
end
end