Sha256: 94c2f864e22321408b84dbc2d678c5ebc7cfe79c01da26da72fb151d48cf5a2d
Contents?: true
Size: 845 Bytes
Versions: 1
Compression:
Stored size: 845 Bytes
Contents
# frozen_string_literal: true module HybridAnalysis class API def initialize(key: ENV["HYBRIDANALYSIS_API_KEY"] || ENV["HA_API_KEY"]) @key = key end def abuse_reports @abuse_reports ||= Clients::AbuseReports.new(@key) end def feed @feed ||= Clients::Feed.new(@key) end def file_collection @file_collection ||= Clients::FileCollection.new(@key) end def overview @overview ||= Clients::Overview.new(@key) end def quick_scan @quick_scan ||= Clients::QuickScan.new(@key) end def report @report ||= Clients::Report.new(@key) end def search @search ||= Clients::Search.new(@key) end def submit @submit ||= Clients::Submit.new(@key) end def system @system ||= Clients::System.new(@key) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hybridanalysisx-0.1.0 | lib/hybridanalysis/api.rb |