Making provider and credentials an attribute

Shouldn't it be {} since its a hash?