lib/quickbooks/adapters/ole_adapter.rb
# Close the connection to Quickbooks. Automatically ends the session, if there is one.
Close the connection to Quickbooks. Automatically ends the session, if there is one.
Close the connection to Quickbooks . Automatically ends the session if there is one .
def close
        end_session
        if connected? && connection.CloseConnection.nil?
          @connected = false
          @connection = nil
          Connection.connections = Connection.connections - [self]
        end
        return !@connected 
      end
def close end_session if connected? && connection . CloseConnection . nil? @connected = false @connection = nil Connection . connections = Connection . connections - [ self ] end return ! @connected end
Close the connection to Quickbooks.
Close the connection to Quickbooks .
# Returns false if CloseConnection failed.