Sha256: 72adb177d714d427e208e46d2c99a0bab447818dc50396f6adf106f776c0a205

Contents?: true

Size: 294 Bytes

Versions: 7

Compression:

Stored size: 294 Bytes

Contents

module Octobat
  class Customer < APIResource
    include 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

7 entries across 7 versions & 1 rubygems

Version Path
octobat-0.0.10 lib/octobat/customer.rb
octobat-0.0.9 lib/octobat/customer.rb
octobat-0.0.8 lib/octobat/customer.rb
octobat-0.0.7 lib/octobat/customer.rb
octobat-0.0.6 lib/octobat/customer.rb
octobat-0.0.5 lib/octobat/customer.rb
octobat-0.0.4 lib/octobat/customer.rb