class Spyse::Client::IP

Public Instance Methods

get(ip) click to toggle source

Returns the current data about the given IP address.

@see spyse.com/api#/ip/ip

@param [String] ip A valid IPv4 address.

@return [Hash]

# File lib/spyse/clients/ip.rb, line 15
def get(ip)
  _get("/ip/#{ip}") { |json| json }
end