I have code in the authenticate module in application.rb to establish a connection to a web service. This returns a session id that is used for all of the other service methods. One of those methods is "logout". How can I trigger the appropriate web service call when the user clicks the "Logoff" button that currently just invokes SyncEngine::logout. I can't use the existing source adapters' logout code because this operation is independent of them.
There are currently no hooks to call the server on logout (it is a local operation only). In 4.0 we plan on exposing more hooks into the RhoConnect REST API that you could use.