class GdsApi::Mapit

def location_for_postcode(postcode)

def location_for_postcode(postcode)
  response = get_json("#{base_url}/postcode/#{CGI.escape postcode}.json")
  Location.new(response) unless response.nil?
end