Sha256: e7a2ac48149b27e71974be14893732e8a15def17f63e07f5d33b0a70b0032c04
Contents?: true
Size: 538 Bytes
Versions: 4
Compression:
Stored size: 538 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'customer' require_relative 'ledger_class' require_relative 'vendor' module LedgerSync module Ledgers module QuickBooksOnline class DepositLineDetail < QuickBooksOnline::Resource references_one :Account, to: Account references_one :Class, to: LedgerClass references_one :Entity, to: [Customer, Vendor] def name "#{self.Account.try(:name)} - #{self.Class.try(:name)}" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems