I'm attempting to use the [Exchange Webservices API][ewsapi]. Unfortunately it has a weird package, but I thought that wouldn't be hard to overcome. So I wrote this script:
require 'java'
require 'vendor/lib/EWSJavaAPI_1.2.jar'
def microsoft
Java::Microsoft
end
version = microsoft.exchange.webservices.data.ExchangeVersion::Exchange2010_SP1