I think there are a lot of in-line corrections to pretty-up what I have here, but this one deserves a bit more: I need help.

I've never understood how to do this in a more Ruby way. Inside of the block `do |http|` I will create `response` and I want it to be accessible afterwards, but it seems that in order for a block to modify a variable with scope outside the block, the variable has to be instantiated before the block, like I've done here. 

Is there a better way?