Skip to content
Snippets Groups Projects
Commit 21a78a8a authored by Sergii Tkachenko's avatar Sergii Tkachenko
Browse files

Add precision method to Geocoder::Result::Yandex.

parent 7c344826
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,10 @@ module Geocoder::Result
address_details['Locality']['Premise']['PremiseName']
end
def precision
@data['GeoObject']['metaDataProperty']['GeocoderMetaData']['precision']
end
private # ----------------------------------------------------------------
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