Sha256: ad18d429bf08fdbf2cf631a7fa8c82ea267279a050ef58d32825e8a25302a670
Contents?: true
Size: 834 Bytes
Versions: 2
Compression:
Stored size: 834 Bytes
Contents
# This file sets up the classes for QuickBooks entities, transactions and # reports that are not setup elsewhere (at this point, this file is only used # for "weird" classes. # Very non-standard elements. I haven't yet formed an approach to dealing # with these; I leave them here as a reminder. QBFC_NON_STANDARD_TYPES = %w{ DataExt DataExtDef DataEventRecoveryInfo ItemAssembliesCanBuild} # Query types support Query requests only and return an itemized list of some sort; # most of these may be integrated as special finders for their types. QBFC_QUERY_TYPES = %w{BillToPay ListDeleted ReceivePaymentToDeposit Template TxnDeleted} module QBFC # Create QBElement classes (QBFC_NON_STANDARD_TYPES + QBFC_QUERY_TYPES).uniq.each do | qb_element_name | const_set(qb_element_name, Class.new(Base)) end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
jm81-qbfc-0.3.0 | lib/qbfc/qb_types.rb |
qbfc-0.3.0 | lib/qbfc/qb_types.rb |