. "fore the commencement of the action, or, if the action was commenced before there was an opportunity of making or offering such apology, that the defendant did so as soon afterwards as the defendant had an opportunity." . . . .