Procore Technologies interview question

Web development question using Ruby (Sinatra)