class Geocoder::Result::AmazonLocationService

def address

def address
  @place.label
end

def city

def city
  @place.municipality || @place.sub_region
end

def coordinates

def coordinates
  [@place.geometry.point[1], @place.geometry.point[0]]
end

def country

def country
  @place.country
end

def country_code

def country_code
  @place.country
end

def initialize(result)

def initialize(result)
  @place = result.place
  super
end

def neighborhood

def neighborhood
  @place.neighborhood
end

def place_id

def place_id
  data.place_id if data.respond_to?(:place_id)
end

def postal_code

def postal_code
  @place.postal_code
end

def province

def province
  @place.region
end

def province_code

def province_code
  @place.region
end

def route

def route
  @place.street
end

def state

def state
  @place.region
end

def state_code

def state_code
  @place.region
end