lib/geocoder/results/base.rb in geocoder-0.9.13 vs lib/geocoder/results/base.rb in geocoder-1.0.0
- old
+ new
@@ -30,9 +30,25 @@
def longitude
coordinates[1]
end
+ def state
+ fail
+ end
+
+ def province
+ state
+ end
+
+ def state_code
+ fail
+ end
+
+ def province_code
+ state_code
+ end
+
def country
fail
end
def country_code