Class: Geonames::Toponym

Inherits:
Object
  • Object
show all
Defined in:
lib/toponym.rb

Instance Attribute Summary collapse

Instance Attribute Details

#alternate_namesObject

Returns the value of attribute alternate_names


24
25
26
# File 'lib/toponym.rb', line 24

def alternate_names
  @alternate_names
end

#country_codeObject

Returns the value of attribute country_code


25
26
27
# File 'lib/toponym.rb', line 25

def country_code
  @country_code
end

#country_nameObject

Returns the value of attribute country_name


26
27
28
# File 'lib/toponym.rb', line 26

def country_name
  @country_name
end

#distanceObject

Returns the value of attribute distance


35
36
37
# File 'lib/toponym.rb', line 35

def distance
  @distance
end

#elevationObject

Returns the value of attribute elevation


28
29
30
# File 'lib/toponym.rb', line 28

def elevation
  @elevation
end

#feature_classObject

Returns the value of attribute feature_class


29
30
31
# File 'lib/toponym.rb', line 29

def feature_class
  @feature_class
end

#feature_class_nameObject

Returns the value of attribute feature_class_name


30
31
32
# File 'lib/toponym.rb', line 30

def feature_class_name
  @feature_class_name
end

#feature_codeObject

Returns the value of attribute feature_code


31
32
33
# File 'lib/toponym.rb', line 31

def feature_code
  @feature_code
end

#feature_code_nameObject

Returns the value of attribute feature_code_name


32
33
34
# File 'lib/toponym.rb', line 32

def feature_code_name
  @feature_code_name
end

#geoname_idObject

Returns the value of attribute geoname_id


22
23
24
# File 'lib/toponym.rb', line 22

def geoname_id
  @geoname_id
end

#latitudeObject

Returns the value of attribute latitude


33
34
35
# File 'lib/toponym.rb', line 33

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude


34
35
36
# File 'lib/toponym.rb', line 34

def longitude
  @longitude
end

#nameObject

Returns the value of attribute name


23
24
25
# File 'lib/toponym.rb', line 23

def name
  @name
end

#populationObject

Returns the value of attribute population


27
28
29
# File 'lib/toponym.rb', line 27

def population
  @population
end