lib/graticule/geocoder/yahoo.rb in graticule-1.0.0.pre vs lib/graticule/geocoder/yahoo.rb in graticule-1.0.0.pre2
- old
+ new
@@ -5,17 +5,17 @@
#
# http://developer.yahoo.com/maps/rest/V1/geocode.html
class Yahoo < Base
PRECISION = {
- "country" => :country,
- "state" => :region,
- "city" => :locality,
- "zip+4" => :postal_code,
- "zip+2" => :postal_code,
- "zip" => :postal_code,
- "street" => :street,
- "address" => :address
+ "country" => Precision::Country,
+ "state" => Precision::Region,
+ "city" => Precision::Locality,
+ "zip+4" => Precision::PostalCode,
+ "zip+2" => Precision::PostalCode,
+ "zip" => Precision::PostalCode,
+ "street" => Precision::Street,
+ "address" => Precision::Address
}
# Web services initializer.
#
# The +appid+ is the Application ID that uniquely identifies your
\ No newline at end of file