Class: HybridAnalysis::Clients::Client
- Inherits:
-
Object
- Object
- HybridAnalysis::Clients::Client
- Defined in:
- lib/hybridanalysis/clients/client.rb
Direct Known Subclasses
AbuseReports, Feed, FileCollection, Key, Overview, QuickScan, Report, Search, Submit, System
Constant Summary collapse
- HOST =
"www.hybrid-analysis.com"
- VERSION =
"v2"
- BASE_URL =
"https://#{HOST}/api/#{VERSION}"
- DEFAULT_UA =
"Falcon Sandbox"
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(key) ⇒ Client
Returns a new instance of Client.
18 19 20 |
# File 'lib/hybridanalysis/clients/client.rb', line 18 def initialize(key) @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
11 12 13 |
# File 'lib/hybridanalysis/clients/client.rb', line 11 def key @key end |