Class: HybridAnalysis::Clients::AbuseReports
- Defined in:
- lib/hybridanalysis/clients/abuse_reports.rb
Constant Summary
Constants inherited from Client
Client::BASE_URL, Client::DEFAULT_UA, Client::HOST, Client::VERSION
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
-
#new(sha256:, reason:) ⇒ Hash
Allows to request removal.
Methods inherited from Client
Constructor Details
This class inherits a constructor from HybridAnalysis::Clients::Client
Instance Method Details
#new(sha256:, reason:) ⇒ Hash
Allows to request removal
14 15 16 17 18 19 20 |
# File 'lib/hybridanalysis/clients/abuse_reports.rb', line 14 def new(sha256:, reason: ) params = { sha256: sha256, reason: reason }.compact _post("/abuse-reports/new", params) { |json| json } end |