Given I have the below clients hash, is there a quick ruby way (without having to write a multi-line script) to obtain the key given I want to match the cli
You can invert the hash. clients.invert["client_id"=>"2180"] returns "orange"
clients.invert["client_id"=>"2180"]
"orange"