Sinatra restful api