ruby wrapper for search engine