It says in the beginning of Toldos (Beireshit 25:22-23) that Rivka had stomach-aches, so she went to "ask Hashem" about her pregnancy.
Rashi says that since she didn't have ruach hakodesh, it was actually Shem who told her about Yaakov and Esav.
But at the end of the parsha (Beireshit 27:42), it says "and it was told to Rivka [that Esav wanted to kill Yaakov]", and Rashi says it was told to her in ruach hakodesh.
So did she get ruach hakodesh later?