Class: QBFC::QBClass
- Defined in:
- lib/qbfc/lists/qb_class.rb
Overview
QBClass objects represent QuickBooks SDK’s Class
objects. As naming this Class Class
would be impractical, it is instead called QBClass. It is otherwise similar to the other List classes.
From QBFC6 SDK docs:
Classes can be used to separate transactions into meaningful categories. (For example, transactions could be classified according to department, business location, or type of work.) In QuickBooks, class tracking is off by default.
Constant Summary
Constants inherited from List
Class Method Summary collapse
-
.qb_name ⇒ Object
The QuickBooks SDK class is called ‘Class’.
Methods inherited from List
#delete, #display, find_by_id, find_by_name, find_by_name_or_id, #full_name, #id
Methods inherited from Element
base_class_find, #custom, find, #initialize, is_base_class, is_base_class?, #new_record?, #save
Methods inherited from Base
create_query, #initialize, is_base_class?, #method_missing, #ole_methods, parse_find_args, #qb_name, #respond_to_ole?
Constructor Details
This class inherits a constructor from QBFC::Element
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class QBFC::Base
Class Method Details
.qb_name ⇒ Object
The QuickBooks SDK class is called ‘Class’. Calling this class QBClass avoids making ruby very angry; the qb_name method ensures that calls to QBFC use the correct name.
20 21 22 |
# File 'lib/qbfc/lists/qb_class.rb', line 20 def qb_name "Class" end |