To make the pasta dough: Place the flour in a large bowl and form a well in the centre. Add the eggs and the olive oil; mix to form a dough. You'll want a dough that's not too sticky or too dry. Knead the dough for about 15 minutes by hand. Cover and let it rest for about 30 minutes.
To make the ravioli filling: Heat oil in a frying pan over medium heat; add garlic and cook until softened and golden. Stir in the mushrooms and cook for another few minutes. Season with salt, pepper and parsley.
Place ricotta cheese in a blender or food processor; add the mushroom mixture and blend to a smooth paste.
To fill the ravioli: Roll out the dough either with a pasta machine or with a rolling pin. Spoon a small portion of the filling on top of the dough making sure you place the filling close to one side and not exactly in the middle.
If you don't have a ravioli rolling pin, lightly brush the ends of the dough with beaten egg and pull the other half over to form the ravioli pouch. Slice into portions. Press the edges down with a fork to seal the filling inside but don’t press too hard or you will break the dough.
Cook the ravioli in boiling salted water. They will rise to the top when ready. Serve with the sauce of your choice.