Class: HybridAnalysis::Clients::Feed

Inherits:
Client
  • Object
show all
Defined in:
lib/hybridanalysis/clients/feed.rb

Constant Summary

Constants inherited from Client

Client::BASE_URL, Client::DEFAULT_UA, Client::HOST, Client::VERSION

Instance Attribute Summary

Attributes inherited from Client

#key

Instance Method Summary collapse

Methods inherited from Client

#initialize

Constructor Details

This class inherits a constructor from HybridAnalysis::Clients::Client

Instance Method Details

#latestHash

access a JSON feed (summary information) of last 250 reports from 24h

Returns:

  • (Hash)


11
12
13
# File 'lib/hybridanalysis/clients/feed.rb', line 11

def latest
  _get("/feed/latest") { |json| json }
end