Class: Truemail::Log::Serializer::ValidatorBase

Inherits:
Base
  • Object
show all
Defined in:
lib/truemail/log/serializer/validator_base.rb

Direct Known Subclasses

ValidatorJson, ValidatorText

Constant Summary

Constants inherited from Base

Base::DEFAULT_GEM_VALUE

Instance Method Summary collapse

Methods inherited from Base

call, #serialize

Constructor Details

#initialize(executor_instance) ⇒ ValidatorBase

Returns a new instance of ValidatorBase.


7
8
9
10
# File 'lib/truemail/log/serializer/validator_base.rb', line 7

def initialize(executor_instance)
  @validation_type = executor_instance.validation_type
  super
end