Sha256: d14c566fea4ba66fe1dc9ec6375227de8b2f9549d71e86cd634cf5de6919ec41
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
# frozen_string_literal: true module HybridAnalysis module Clients class Overview < Client # # return overview for hash # # @param [String] sha256 SHA256 for lookup # # @return [Hash] # def get(sha256) _get("/overview/#{sha256}") { |json| json } end # # refresh overview and download fresh data from external services # # @param [String] sha256 SHA256 for lookup # # @return [Hash] # def refresh(sha256) _get("/overview/#{sha256}/refresh") { |json| json } end # # return overview for hash # # @param [String] sha256 SHA256 for lookup # # @return [Hash] # def summary(sha256) _get("/overview/#{sha256}/summary") { |json| json } end # # downloading sample file # # @param [String] sha256 SHA256 for download # # @return [Hash] # def sample(sha256) _get("/overview/#{sha256}/sample") { |json| json } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hybridanalysisx-0.1.0 | lib/hybridanalysis/clients/overview.rb |