Sinatra and rest