Sha256: a0990f88dec27e154d303760138a39ebd9bc0fe9b83352ea88a8e8abc513e6bd

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

module Octobat
  class Customer < APIResource
    extend Octobat::APIOperations::List
    include Octobat::APIOperations::Create
    include Octobat::APIOperations::Update
    
    def invoices(params = {})
      Invoice.all(params.merge({ :customer => id }), @api_key)
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octobat-0.0.12 lib/octobat/customer.rb
octobat-0.0.11 lib/octobat/customer.rb