Skip to content
Snippets Groups Projects
Commit 9adbf399 authored by Alex Reisner's avatar Alex Reisner
Browse files

Merge pull request #276 from gemaker/yandex_precision

Add precision method to Geocoder::Result::Yandex.
parents 7c344826 21a78a8a
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,10 @@ module Geocoder::Result ...@@ -57,6 +57,10 @@ module Geocoder::Result
address_details['Locality']['Premise']['PremiseName'] address_details['Locality']['Premise']['PremiseName']
end end
def precision
@data['GeoObject']['metaDataProperty']['GeocoderMetaData']['precision']
end
private # ---------------------------------------------------------------- private # ----------------------------------------------------------------
def address_details def address_details
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment