Sha256: 9f26124ad9eae1f302dd3d302cc50e1a84e24a8ffefe07a45a1171a441583a6f
Contents?: true
Size: 484 Bytes
Versions: 4
Compression:
Stored size: 484 Bytes
Contents
# frozen_string_literal: true require_relative 'currency' require_relative 'journal_entry_line_item' module LedgerSync class JournalEntry < LedgerSync::Resource attribute :memo, type: Type::String attribute :transaction_date, type: Type::Date attribute :reference_number, type: Type::String references_one :currency, to: Currency references_many :line_items, to: JournalEntryLineItem def name "JournalEntry: #{transaction_date}" end end end
Version data entries
4 entries across 4 versions & 1 rubygems