Sha256: 219ea439b855e62f79b09c0c76a7e3aa8de8df16c9e78ffcc2ed181a07678375
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
# frozen_string_literal: true require_relative 'base' module VirustotalAPI # A class for '/ip_addresses' API class IP < Base # Find an IP. # # @param [String] ip address The IP to find. # @param [String] api_key The key for virustotal # @return [VirustotalAPI::IPReport] Report def self.find(ip, api_key) report = perform("/ip_addresses/#{ip}", api_key) new(report) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
virustotal_api_compat-0.1.7 | lib/virustotal_api/ip.rb |