added ruby version of simple_search.py using rest-client