The Spaniard beat Norwegian Casper Ruud at the ATP Tour Finals in his final match of the calendar year.