class IP2Country::CC2Country

Defined in:

ip2country/cc2country.cr

Constant Summary

CACHE_DIR = IP2Country::CACHE_DIR + "/country"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.cache_update : Bool #

[View source]

Instance Method Detail

def lookup(cc : String, lang : String) : String #

[View source]
def lookup_all(cc : String) : Hash(String, String) #

[View source]