Class: HybridAnalysis::Clients::Key

Inherits:
Client
  • Object
show all
Defined in:
lib/hybridanalysis/clients/file_collection.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

#currentHash

return information about the used API key and it limits

Returns:

  • (Hash)


96
97
98
# File 'lib/hybridanalysis/clients/file_collection.rb', line 96

def current
  _get("/key/current") { |json| json }
end