class Geocoder::Result::BaiduIp

def address

def address
  @data['address']
end

def address_detail

def address_detail
  @data['address_detail']
end

def city

def city
  address_detail['city']
end

def coordinates

def coordinates
  [point['y'].to_f, point['x'].to_f]
end

def country

def country
  "China"
end

def country_code

def country_code
  "CN"
end

def district

def district
  address_detail['district']
end

def point

def point
  @data['point']
end

def postal_code

def postal_code
  ""
end

def province

def province
  address_detail['province']
end

def state

def state
  province
end

def state_code

def state_code
  ""
end

def street

def street
  address_detail['street']
end

def street_number

def street_number
  address_detail['street_number']
end