Class: VirusTotal::File
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from VirusTotal::Base
Instance Method Details
#report ⇒ Object
11 12 13 |
# File 'lib/virus_total/file.rb', line 11 def report api_response('file/report', resource: resource) end |
#rescan ⇒ Object
7 8 9 |
# File 'lib/virus_total/file.rb', line 7 def rescan api_response('file/rescan', resource: resource) end |
#scan ⇒ Object
3 4 5 |
# File 'lib/virus_total/file.rb', line 3 def scan api_response('file/scan', file: get_file, multipart: true) end |