class Geocoder::Result::Mapquest

def address

def address
  [street, city, state, postal_code, country].reject{|s| s.length == 0 }.join(", ")
end

def city

def city
  @data['adminArea5']
end

def coordinates

def coordinates
  %w[lat lng].map{ |l| @data["latLng"][l] }
end

def country

def country
  @data['adminArea1']
end

def country_code

def country_code
  country
end

def county

def county
  @data['adminArea4']
end

def postal_code

def postal_code
  @data['postalCode'].to_s
end

def state

def state
  @data['adminArea3']
end

def street

def street
  @data['street']
end