Class: Geonames::Toponym

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

Instance Attribute Summary collapse

Instance Attribute Details

#admin_code_1Object

Returns the value of attribute admin_code_1.



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

def admin_code_1
  @admin_code_1
end

#admin_code_2Object

Returns the value of attribute admin_code_2.



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

def admin_code_2
  @admin_code_2
end

#admin_name_1Object

Returns the value of attribute admin_name_1.



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

def admin_name_1
  @admin_name_1
end

#admin_name_2Object

Returns the value of attribute admin_name_2.



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

def admin_name_2
  @admin_name_2
end

#alternate_namesObject

Returns the value of attribute alternate_names.



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

def alternate_names
  @alternate_names
end

#country_codeObject

Returns the value of attribute country_code.



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

def country_code
  @country_code
end

#country_nameObject

Returns the value of attribute country_name.



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

def country_name
  @country_name
end

#distanceObject

Returns the value of attribute distance.



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

def distance
  @distance
end

#elevationObject

Returns the value of attribute elevation.



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

def elevation
  @elevation
end

#feature_classObject

Returns the value of attribute feature_class.



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

def feature_class
  @feature_class
end

#feature_class_nameObject

Returns the value of attribute feature_class_name.



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

def feature_class_name
  @feature_class_name
end

#feature_codeObject

Returns the value of attribute feature_code.



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

def feature_code
  @feature_code
end

#feature_code_nameObject

Returns the value of attribute feature_code_name.



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

def feature_code_name
  @feature_code_name
end

#geoname_idObject

Returns the value of attribute geoname_id.



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

def geoname_id
  @geoname_id
end

#latitudeObject

Returns the value of attribute latitude.



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

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



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

def longitude
  @longitude
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#populationObject

Returns the value of attribute population.



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

def population
  @population
end

#timezoneObject

Returns the value of attribute timezone.



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

def timezone
  @timezone
end