3taps/3taps-Ruby-Client — pull request #1 by learc83 (2012-07-12 03:43:38+00:00)
Title: fixed bug where Location struct initialization assigned entire attribute...

...s hash to first attribute, now correctly assigns attributes.

You used to end up with this...

#1, "country"=>"United States", "cityRank"=>1, "city"=>"New York", "stateCode"=>"NY", "stateName"=>"New York", "code"=>"NYC", "latitude"=>40.6344, "longitude"=>-74.2827}, country=nil, cityRank=nil, city=nil, stateCode=nil, stateName=nil, code=nil, latitude=nil, longitude=nil>

The entire hash is assigned to countryRank, but this patch fixes it.