Sha256: 1fb6a197369e55c4a8dcbf4ea5c762408d156d88f5ee6b75c644a6a856e74830

Contents?: true

Size: 402 Bytes

Versions: 13

Compression:

Stored size: 402 Bytes

Contents

require 'gecko/record/base'

module Gecko
  module Record
    class InvoiceLineItem < Base
      belongs_to :invoice, writeable_on: :create
      belongs_to :order_line_item
      # belongs_to :ledger_account
      attribute :ledger_account_id, Integer

      attribute :quantity, BigDecimal
      attribute :position, Integer
    end

    class InvoiceLineItemAdapter < BaseAdapter

    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gecko-ruby-0.9.1 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.9.0 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.8.0 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.2.6 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.7.1 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.7.0 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.6.0 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.5.0 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.2.5 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.2.4 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.2.3 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.2.2 lib/gecko/record/invoice_line_item.rb
gecko-ruby-0.2.0 lib/gecko/record/invoice_line_item.rb