Class: Mihari::Structs::Censys::AutonomousSystem
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Mihari::Structs::Censys::AutonomousSystem
- Defined in:
- lib/mihari/structs/censys.rb
Class Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/mihari/structs/censys.rb', line 9 def self.from_dynamic!(d) d = Types::Hash[d] new( asn: d.fetch("asn") ) end |