Sha256: a9158468a8f6042a000d8d54e2d7032dfec593d2d42311a9aacfe491e8ed29ac

Contents?: true

Size: 442 Bytes

Versions: 27

Compression:

Stored size: 442 Bytes

Contents

module Mihari
  module Structs
    module IPInfo
      class Response
        attr_reader ip: String
        attr_reader hostname: String?
        attr_reader loc: String
        attr_reader country_code: String
        attr_reader asn: Integer?

        def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::IPInfo::Response

        def to_hash: () -> Hash[(String | Symbol), untyped]
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
mihari-4.7.1 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.7.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.6.1 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.6.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.5.3 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.5.2 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.5.1 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.5.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.4.1 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.4.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.3.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.2.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.1.2 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.1.1 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.1.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.0.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-3.12.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-3.11.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-3.10.1 sig/lib/mihari/structs/ipinfo.rbs
mihari-3.10.0 sig/lib/mihari/structs/ipinfo.rbs