Sha256: 4b7e92878a9c8a8fc0f95fb9cda6ae24b507af337b0d7a0b9dd68f19b11d7311
Contents?: true
Size: 433 Bytes
Versions: 1
Compression:
Stored size: 433 Bytes
Contents
module LedgerSync class Bill < LedgerSync::Resource attribute :currency, type: Type::String attribute :memo, type: Type::String attribute :transaction_date, type: Type::Date attribute :due_date, type: Type::Date references_one :vendor, to: Vendor references_one :account, to: Account references_many :line_items, to: BillLineItem def name "Bill: #{transaction_date.to_s}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.1.1 | lib/ledger_sync/resources/bill.rb |