ruby class to access splunk