removed faraday dependency using pur ruby net http