ruby restclient example