Splunk has decent documentation regarding their REST API, however the Ruby example uses Hipricot, which like many of the XML parsers in existence has a learning curve.
After a few more hours of Googling, I wasn’t able to find any decent examples using Ruby and the Splunk API. The Hipricot example didn’t look very straightforward and I decided to re-write it using Nokogiri and the wonderful Slop feature.
v0.1 code and documentation located on GitHub: https://github.com/cbrito/splunk-client