Sha256: b29d26a1c961166d012ddc559e7173d8400bbf84329554675fadbb66c9429b75
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 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) do |json| handle_response_code json end 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.1 | lib/virustotal/clients/url.rb |