Class: VirusTotal::Url
- Inherits:
-
Base
- Object
- Base
- VirusTotal::Url
show all
- Defined in:
- lib/virus_total/url.rb
Constant Summary
Constants inherited
from Base
Base::BASE_URL
Instance Attribute Summary
Attributes inherited from Base
#apikey, #resource
Instance Method Summary
collapse
Methods inherited from Base
#api_response, #initialize
Instance Method Details
#report ⇒ Object
7
8
9
|
# File 'lib/virus_total/url.rb', line 7
def report
api_response("url/report", resource: resource)
end
|
#scan ⇒ Object
3
4
5
|
# File 'lib/virus_total/url.rb', line 3
def scan
api_response("url/scan", url: resource("\n"))
end
|