Sha256: c08d94728c70373ab20bf8647d5bc76ab8b4b4fa59b7589ac218f911778f7dd4
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 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 attribute :reference_number, type: Type::String 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.1.3 | lib/ledger_sync/resources/bill.rb |
ledger_sync-1.1.2 | lib/ledger_sync/resources/bill.rb |