Returns:
73
# File 'lib/mihari/structs/censys.rb', line 73 attribute :port, Types::Int
Parameters:
86 87 88 89 90 91
# File 'lib/mihari/structs/censys.rb', line 86 def from_dynamic!(d) d = Types::Hash[d] new( port: d.fetch("port") ) end
78 79 80
# File 'lib/mihari/structs/censys.rb', line 78 def _port Models::Port.new(port: port) end