Class: VirusTotal::Client::Intelligence
- Defined in:
- lib/virustotal/clients/intelligence.rb
Constant Summary
Constants inherited from Base
Base::BASE_URL, Base::CONVERT_TABLE, Base::HOST, Base::VERSION
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#search(query, order: nil, limit: nil, cursor: nil, descriptors_only: nil) ⇒ Hash
Intelligense search.
Methods inherited from Base
Constructor Details
This class inherits a constructor from VirusTotal::Client::Base
Instance Method Details
#search(query, order: nil, limit: nil, cursor: nil, descriptors_only: nil) ⇒ Hash
Intelligense search
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/virustotal/clients/intelligence.rb', line 17 def search(query, order: nil, limit: nil, cursor: nil, descriptors_only: nil) params = { query: query, order: order, limit: limit, cursor: cursor, descriptors_only: descriptors_only }.compact _get("/#{name}/search", params) { |json| json } end |