Sha256: 0c05e5f551078a5e5ef59bc4cce6e2286d93cfdbca0d650d97d3c8c7668ed079
Contents?: true
Size: 456 Bytes
Versions: 1
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true require_relative 'journal_entry_line_item' 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}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.1 | lib/ledger_sync/resources/journal_entry.rb |