Class: Ratonvirus::AntivirusCheckService::Result
- Inherits:
-
Object
- Object
- Ratonvirus::AntivirusCheckService::Result
- Defined in:
- lib/ratonvirus/services/antivirus_check_service.rb
Instance Attribute Summary collapse
-
#parsed_response ⇒ Object
Returns the value of attribute parsed_response.
Instance Method Summary collapse
Instance Attribute Details
#parsed_response ⇒ Object
Returns the value of attribute parsed_response.
4 5 6 |
# File 'lib/ratonvirus/services/antivirus_check_service.rb', line 4 def parsed_response @parsed_response end |
Instance Method Details
#virus? ⇒ Boolean
6 7 8 |
# File 'lib/ratonvirus/services/antivirus_check_service.rb', line 6 def virus? parsed_response.any? && parsed_response['status'] != 'OK' end |