Casper Ruud advances to the second round of the Mexican Open after surviving a tough battle against Chris Eubanks.