switched from httparty to rest-client due to @response namespace issue