HackerEarth API Wrapper in Ruby