Method: Geocoder::Result::Google#country

Defined in:
lib/geocoder/results/google.rb

#countryObject



56
57
58
59
60
# File 'lib/geocoder/results/google.rb', line 56

def country
  if country = address_components_of_type(:country).first
    country['long_name']
  end
end