10 11 12 13 14 15 16
# File 'lib/mihari/structs/shodan.rb', line 10 def self.from_dynamic!(d) d = Types::Hash[d] new( country_code: d["country_code"], country_name: d["country_name"] ) end