Class: VAAS::VaasVerdict

Inherits:
Object
  • Object
show all
Defined in:
lib/vaas/vaas_verdict.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ VaasVerdict

Returns a new instance of VaasVerdict.



6
7
8
9
10
# File 'lib/vaas/vaas_verdict.rb', line 6

def initialize(response)
  @sha256 = response['sha256']
  @verdict = response['verdict']
  @guid = response['guid']
end

Instance Attribute Details

#guidObject (readonly)

Returns the value of attribute guid.



4
5
6
# File 'lib/vaas/vaas_verdict.rb', line 4

def guid
  @guid
end

#sha256Object (readonly)

Returns the value of attribute sha256.



4
5
6
# File 'lib/vaas/vaas_verdict.rb', line 4

def sha256
  @sha256
end

#verdictObject (readonly)

Returns the value of attribute verdict.



4
5
6
# File 'lib/vaas/vaas_verdict.rb', line 4

def verdict
  @verdict
end