Class: VAAS::VaasVerdict
- Inherits:
-
Object
- Object
- VAAS::VaasVerdict
- Defined in:
- lib/vaas/vaas_verdict.rb
Instance Attribute Summary collapse
-
#guid ⇒ Object
readonly
Returns the value of attribute guid.
-
#sha256 ⇒ Object
readonly
Returns the value of attribute sha256.
-
#verdict ⇒ Object
readonly
Returns the value of attribute verdict.
Instance Method Summary collapse
-
#initialize(response) ⇒ VaasVerdict
constructor
A new instance of VaasVerdict.
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
#guid ⇒ Object (readonly)
Returns the value of attribute guid.
4 5 6 |
# File 'lib/vaas/vaas_verdict.rb', line 4 def guid @guid end |
#sha256 ⇒ Object (readonly)
Returns the value of attribute sha256.
4 5 6 |
# File 'lib/vaas/vaas_verdict.rb', line 4 def sha256 @sha256 end |
#verdict ⇒ Object (readonly)
Returns the value of attribute verdict.
4 5 6 |
# File 'lib/vaas/vaas_verdict.rb', line 4 def verdict @verdict end |