Ruby, turn array of hashes into single hash

I have the following Array of Hashes:

I need to turn it into:

or:

Can I do this in a clean & functional way?

Something like this:

if you want the other way:

incorporating the suggestion from @squiguy: