Sha256: ba6086710f9763f954ba95372579f9a4d9951b40040b2397cefd9bfbda7931db
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true module VirusTotal module Client class URL < Base def report(resource, allinfo: nil) params = { resource: resource, allinfo: allinfo }.compact post("/url/report", params) { |json| json } end def scan(url) post("/url/scan", url: url) { |json| json } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
virustotalx-0.1.0 | lib/virustotal/clients/url.rb |