Module: QB

Defined in:
lib/quickbooks.rb

Overview

Use the QB constant to access any model or element class. QB::Customer will get the Customer model class, autogenerating it from the parsed specs if necessary. You can also access a class constant using the accessor method: QB. Use QB.xsd if you want to browse the XSD data structure parsed from the specs at the current Quickbooks.qbxml_version.

Class Method Summary collapse

Class Method Details

.const_missing(const) ⇒ Object Also known as: []



19
20
21
# File 'lib/quickbooks.rb', line 19

def const_missing(const)
  Quickbooks.get_constant(const)
end

.xsdObject

Returns the XSD data structure parsed from the specs at the current Quickbooks.qbxml_version.



25
26
27
# File 'lib/quickbooks.rb', line 25

def xsd
  Quickbooks.xsd(true)
end