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
try this:
clients.find{|key,value| value["client_id"] == "2178"}.first