Method: Quickbooks::API.instance

Defined in:
lib/quickbooks/api.rb

.instance(schema_type = nil, opts = {}) ⇒ Object

full singleton constructor



29
30
31
# File 'lib/quickbooks/api.rb', line 29

def self.instance(schema_type = nil, opts = {})
  @@instances[schema_type] || new(schema_type, opts)
end