Sha256: d57a14d21789bd9e0552a45844dc70b37b5f604944fd87fcb93430209e8f541d
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
# coding: utf-8 module SeventeenMon require "socket" require "iconv" require "ipaddr" require "seventeen_mon/version" require "seventeen_mon/ipdb" require "seventeen_mon/ip" def self.find_by_ip(_ip) IP.new(ip: _ip).find end def self.find_by_address(address: nil, protocol: "http") IP.new(address: address, protocol: protocol).find end end SM = SeventeenMon
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
seventeen_mon-0.0.2 | lib/seventeen_mon.rb |
seventeen_mon-0.0.1 | lib/seventeen_mon.rb |