class HybridAnalysis::API
Public Class Methods
new(key: ENV["HYBRIDANALYSIS_API_KEY"] || ENV["HA_API_KEY"])
click to toggle source
# File lib/hybridanalysis/api.rb, line 5 def initialize(key: ENV["HYBRIDANALYSIS_API_KEY"] || ENV["HA_API_KEY"]) @key = key end
Public Instance Methods
abuse_reports()
click to toggle source
# File lib/hybridanalysis/api.rb, line 9 def abuse_reports @abuse_reports ||= Clients::AbuseReports.new(@key) end
feed()
click to toggle source
# File lib/hybridanalysis/api.rb, line 13 def feed @feed ||= Clients::Feed.new(@key) end
file_collection()
click to toggle source
# File lib/hybridanalysis/api.rb, line 17 def file_collection @file_collection ||= Clients::FileCollection.new(@key) end
overview()
click to toggle source
# File lib/hybridanalysis/api.rb, line 21 def overview @overview ||= Clients::Overview.new(@key) end
quick_scan()
click to toggle source
# File lib/hybridanalysis/api.rb, line 25 def quick_scan @quick_scan ||= Clients::QuickScan.new(@key) end
report()
click to toggle source
# File lib/hybridanalysis/api.rb, line 29 def report @report ||= Clients::Report.new(@key) end
search()
click to toggle source
# File lib/hybridanalysis/api.rb, line 33 def search @search ||= Clients::Search.new(@key) end
submit()
click to toggle source
# File lib/hybridanalysis/api.rb, line 37 def submit @submit ||= Clients::Submit.new(@key) end
system()
click to toggle source
# File lib/hybridanalysis/api.rb, line 41 def system @system ||= Clients::System.new(@key) end