Class: VirusTotal::Client::Domain

Inherits:
Base
  • Object
show all
Defined in:
lib/virustotal/clients/domain.rb

Constant Summary

Constants inherited from Base

Base::BASE_URL, Base::HOST, Base::VERSION

Instance Attribute Summary

Attributes inherited from Base

#key

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from VirusTotal::Client::Base

Instance Method Details

#report(domain) ⇒ Object



6
7
8
9
10
# File 'lib/virustotal/clients/domain.rb', line 6

def report(domain)
  get("/domain/report", domain: domain) do |json|
    handle_response_code json
  end
end