Class: HybridAnalysis::Clients::Client

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

Constant Summary collapse

HOST =
"www.hybrid-analysis.com"
VERSION =
"v2"
BASE_URL =
"https://#{HOST}/api/#{VERSION}"
DEFAULT_UA =
"Falcon Sandbox"

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject (readonly)

Returns the value of attribute key.



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

def key
  @key
end