None of the address components are accessible from the Spot
kevin521 opened this issue · 6 comments
Whenever I try to access any part of the address, all I get is a nilclass.
Here is a sample spot that I get back. None of the spots that I am querying return a formatted address.
GooglePlaces::Spot:0x00000103353d98
@reference="CnRsAAAAu_4LaGjas9WX6dH5XOGPvfVCJF9xTaplA4ciUwFvZ5qYDCcIX2i0DYmbiwQOJsM6yWV_kH8H5c-_UdZtSI_fyh_pYClwJ6uC3xFz3be-PUzKqrvxHuGsNfQlhxuiKqnzEQouKYpvnMj8uugnM7MZVBIQHdn2i-sHQHtKaoU-ndTGmxoUjmxGBAOJqmR5o07d7keJvE8NBJo", @vicinity="5523 Walnut St, Pittsburgh", @lat=40.451506, @lng=-79.93292, @name="Mercurio's", @ICON="http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png", @types=["store", "restaurant", "food", "establishment"], @id="e3efa8c7648a2d80d2cc3e387eca592824828e19", @formatted_phone_number=nil, @international_phone_number=nil, @formatted_address=nil, @address_components=nil, @street_number=nil, @street=nil, @city=nil, @region=nil, @postal_code=nil, @Country=nil, @Rating=4, @price_level=2
Hi @kevin521, can you check if the latest version of the gem (0.22.0
) fixes this issue for you? There have been a few changes in the code lately which may have solved your issue as well. Thanks!
Haven't heard back; assuming issue is fixed.
This issue still exists. No formatted_address's are available for any spot.
@dmastylo thanks for letting me know, can you provide some steps to reproduce?
Closing this as a duplicate of #64