Sha256: a78da2596f4cc5251e16cfd763c9208350ff601f5e804a24261c6f3e3260328a

Contents?: true

Size: 444 Bytes

Versions: 8

Compression:

Stored size: 444 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

8 entries across 8 versions & 1 rubygems

Version Path
mihari-4.12.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.11.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.10.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.9.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.8.0 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.7.4 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.7.3 sig/lib/mihari/structs/ipinfo.rbs
mihari-4.7.2 sig/lib/mihari/structs/ipinfo.rbs