Class: ClamAV::ErrorResponse

Inherits:
Response show all
Defined in:
lib/clamav/responses/error_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(error_str) ⇒ ErrorResponse

Returns a new instance of ErrorResponse.



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

def initialize(error_str)
  @error_str = error_str
end