# File lib/quickbooks/adapters/ole_adapter.rb, line 79
      def initialize(application_name='RubyApplication', file='', user='', password='', connection_type='localQBD', connection_mode='DoNotCare')
        @file = file
        @user = user
        @password = password
        @application_name = application_name
        @quickbooks = Ole.new('QBXMLRP2.RequestProcessor', 'QBXMLRP2 1.0 Type Library')
        @connection_type = @quickbooks.get_variable(connection_type)
        @connection_mode = @quickbooks.get_variable('qbFileOpen'+connection_mode)
      end