We just released a version of an open source Ruby Gem to connect to Companies House JSON API. Here is the RubyGems page and here is the GitHub project. We have been using it in our projects. Not all endpoints are implemented yet, so pull requests, suggestions and bug reports are welcome!
Also, is there a page with Companies House API libraries where this can be published?
All the best,
Matheus