class Geonames::CountryInfo
Attributes
area_sq_km[RW]
bounding_box[RW]
capital[RW]
continent[RW]
country_code[RW]
country_name[RW]
currency_code[RW]
fips_code[RW]
geoname_id[RW]
iso_alpha_3[RW]
iso_numeric[RW]
languages[RW]
population[RW]
Public Class Methods
new()
click to toggle source
# File lib/geonames/country_info.rb, line 9 def initialize @bounding_box = BoundingBox.new @languages = [] end
Public Instance Methods
set_bounding_box(north, south, east, west)
click to toggle source
# File lib/geonames/country_info.rb, line 14 def set_bounding_box(north, south, east, west) @bounding_box = BoundingBox.new(north, south, east, west) end