Sha256: 83b0da05b1152db7dc0704a3ad3b17b41eff5fe1393396f2e81c901ec17d02e8

Contents?: true

Size: 297 Bytes

Versions: 3

Compression:

Stored size: 297 Bytes

Contents

module LedgerSync
  class JournalEntryLineItem < LedgerSync::Resource
    references_one :account, to: Account
    attribute :amount, type: Type::Integer
    attribute :description, type: Type::String
    attribute :entry_type, type: Type::String

    def name
      description
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.1.3 lib/ledger_sync/resources/journal_entry_line_item.rb
ledger_sync-1.1.2 lib/ledger_sync/resources/journal_entry_line_item.rb
ledger_sync-1.1.1 lib/ledger_sync/resources/journal_entry_line_item.rb