Sha256: d8b63e741486ce795ffb7225a3f491a3462078359cddf476b1061df1094e2eee
Contents?: true
Size: 666 Bytes
Versions: 10
Compression:
Stored size: 666 Bytes
Contents
module Mihari module Structs module GooglePublicDNS INT_TYPE_TO_TYPE: { 1 => "A", 2 => "NS", 5 => "CNAME", 16 => "TXT", 28 => "AAAA" } class Answer < Dry::Struct attr_reader name: String attr_reader data: String attr_reader resource_type: String def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::GooglePublicDNS::Answer end class Response < Dry::Struct attr_reader answers: Array[Mihari::Structs::GooglePublicDNS::Answer] def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::GooglePublicDNS::Response end end end end
Version data entries
10 entries across 10 versions & 1 rubygems