alphagov/gds-api-adapters — pull request #6 by fatbusinessman (2012-08-22 16:23:33+00:00)
Title: Handle location hashes from imminence

The forthcoming version of Imminence (see the [relevant pull request](https://github.com/alphagov/imminence/pull/2)) presents locations as a hash rather than latitude/longitude array, so the API adapters need to cope with this new representation, or the nil value to represent no location.

Also, tests are one honking great idea—let’s do more of those.