Sha256: 1a58887148618917012b8735cc2138a770b4aa9d77dc1f215ffb0544faf28956
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 Bytes
Contents
module LedgerSync class JournalEntry < LedgerSync::Resource attribute :currency, type: Type::String attribute :memo, type: Type::String attribute :transaction_date, type: Type::Date attribute :reference_number, type: Type::String references_many :line_items, to: JournalEntryLineItem def name "JournalEntry: #{transaction_date.to_s}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.1.3 | lib/ledger_sync/resources/journal_entry.rb |
ledger_sync-1.1.2 | lib/ledger_sync/resources/journal_entry.rb |