Sha256: 70491d89b44604339e99e7195acb37637fbfb817e7c27b90e7c486067c7665c1

Contents?: true

Size: 322 Bytes

Versions: 36

Compression:

Stored size: 322 Bytes

Contents

module Mihari
  class Geolocation < ActiveRecord::Base
    attr_accessor country (): String
    attr_accessor country_code (): String

    #
    # Build geolocation by IP
    #
    # @param [String] ip
    #
    # @return [Mihari::Geolocation]
    #
    def self.build_by_ip: (String ip) -> Mihari::Geolocation?
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
mihari-4.12.0 sig/lib/mihari/models/geolocation.rbs
mihari-4.11.0 sig/lib/mihari/models/geolocation.rbs
mihari-4.10.0 sig/lib/mihari/models/geolocation.rbs
mihari-4.9.0 sig/lib/mihari/models/geolocation.rbs
mihari-4.8.0 sig/lib/mihari/models/geolocation.rbs
mihari-4.7.4 sig/lib/mihari/models/geolocation.rbs
mihari-4.7.3 sig/lib/mihari/models/geolocation.rbs
mihari-4.7.2 sig/lib/mihari/models/geolocation.rbs
mihari-4.7.1 sig/lib/mihari/models/geolocation.rbs
mihari-4.7.0 sig/lib/mihari/models/geolocation.rbs
mihari-4.6.1 sig/lib/mihari/models/geolocation.rbs
mihari-4.6.0 sig/lib/mihari/models/geolocation.rbs
mihari-4.5.3 sig/lib/mihari/models/geolocation.rbs
mihari-4.5.2 sig/lib/mihari/models/geolocation.rbs
mihari-4.5.1 sig/lib/mihari/models/geolocation.rbs
mihari-4.5.0 sig/lib/mihari/models/geolocation.rbs
mihari-4.4.1 sig/lib/mihari/models/geolocation.rbs
mihari-4.4.0 sig/lib/mihari/models/geolocation.rbs
mihari-4.3.0 sig/lib/mihari/models/geolocation.rbs
mihari-4.2.0 sig/lib/mihari/models/geolocation.rbs