client attribute should be a hash not an array

Erroneously declared this as an array
Adding rubocop support

Adding rubcop so I can be like the others...oh and so the code looks
nice.