Preheat the oven to 325 degrees F. Spray two 6-inch round cake pans with nonstick spray, line the bottoms with parchment paper, and spray again. Set aside.
In a medium size mixing bowl, whisk together the flour, cocoa powder, baking powder, and salt. Set aside.
In the bowl of a stand mixer fitted with the paddle attachment, beat the oil and sugar on medium speed for about 1 to 2 minutes.
Add the eggs, one at a time, until incorporated. Scrape down the sides of the bowl. Turn the mixer to medium-high speed and beat for an addition minute.
With the mixer on low, alternately add the flour mixture and the ricotta, starting and finishing with the flour. Combine until incorporated.
Evenly distribute the batter among the two cake pans (about 14 ounces of batter in each pan) and bake for 25 to 30 minutes or until a toothpick inserted in the center of the cake comes out with just a few moist crumbs.
Remove pans from oven and let the cakes cool in the pans for about 15 minutes before inverting onto a wire rack to cool completely. Once cooled, you can cover with plastic wrap and store in your refrigerator overnight or freezer for longer.