class HybridAnalysis::Clients::Overview

Public Instance Methods

get(sha256) click to toggle source

return overview for hash

@param [String] sha256 SHA256 for lookup

@return [Hash]

# File lib/hybridanalysis/clients/overview.rb, line 13
def get(sha256)
  _get("/overview/#{sha256}") { |json| json }
end
refresh(sha256) click to toggle source

refresh overview and download fresh data from external services

@param [String] sha256 SHA256 for lookup

@return [Hash]

# File lib/hybridanalysis/clients/overview.rb, line 24
def refresh(sha256)
  _get("/overview/#{sha256}/refresh") { |json| json }
end
sample(sha256) click to toggle source

downloading sample file

@param [String] sha256 SHA256 for download

@return [Hash]

# File lib/hybridanalysis/clients/overview.rb, line 46
def sample(sha256)
  _get("/overview/#{sha256}/sample") { |json| json }
end
summary(sha256) click to toggle source

return overview for hash

@param [String] sha256 SHA256 for lookup

@return [Hash]

# File lib/hybridanalysis/clients/overview.rb, line 35
def summary(sha256)
  _get("/overview/#{sha256}/summary") { |json| json }
end