class Mihari::Structs::Censys::AutonomousSystem

Public Class Methods

from_dynamic!(d) click to toggle source
# File lib/mihari/structs/censys.rb, line 10
def self.from_dynamic!(d)
  d = Types::Hash[d]
  new(
    asn: d.fetch("asn")
  )
end