Method: QBFC::Session#close
- Defined in:
- lib/qbfc/session.rb
#close ⇒ Object
Close the session with Quickbooks. If this is ommitted, Quickbooks will not close. Using a block with Session.open ensures the session is closed.
99 100 101 102 103 |
# File 'lib/qbfc/session.rb', line 99 def close @ole_object.EndSession @ole_object.CloseConnection @ole_object = nil end |