A Ruby URL shortener class with an HTTP implementation