Sha256: e87882b77d73000aabd69c14954d11fcd576b7d3a99b57d05c83009c49b685df
Contents?: true
Size: 569 Bytes
Versions: 1
Compression:
Stored size: 569 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'department' require_relative 'deposit_line_item' module LedgerSync class Deposit < LedgerSync::Resource attribute :currency, type: Type::String attribute :memo, type: Type::String attribute :transaction_date, type: Type::Date attribute :exchange_rate, type: Type::Float references_one :account, to: Account references_one :department, to: Department references_many :line_items, to: DepositLineItem def name "Deposit: #{currency}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.1 | lib/ledger_sync/resources/deposit.rb |