vigetlabs/garb — Issue #106: ReportResponse's parse_total_results doesn't parse totalResults
Author: proby
Created: 2011-11-14 22:30:13+00:00
State: open

After switching the response format from XML to JSON the totalResults value comes back in a hash like this:

````"openSearch$openSearch:totalResults": {"$t": "4215"}````

The [current implementation](https://github.com/vigetlabs/garb/blob/master/lib/garb/report_response.rb#L37) will always return 0. I think the method should be changed to something like:
````feed? ? parsed_data['feed']['openSearch$totalResults']['$t'].to_i : 0````