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