Struct.new(:request, :ip, :country_code2, :country_code3, :country_name, :continent_code, :region_code, :region_name, :timezone)
# File lib/geoip.rb, line 127 def to_hash Hash[each_pair.to_a] end