Class: ClamAV::VirusResponse

Inherits:
Response show all
Defined in:
lib/clamav/responses/virus_response.rb

Instance Attribute Summary

Attributes inherited from Response

#error_str, #file, #virus_name

Instance Method Summary collapse

Methods inherited from Response

#==

Constructor Details

#initialize(file, virus_name) ⇒ VirusResponse

Returns a new instance of VirusResponse.



22
23
24
25
# File 'lib/clamav/responses/virus_response.rb', line 22

def initialize(file, virus_name)
  @file = file
  @virus_name = virus_name
end