Class: Truemail::Log::Serializer::Base

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

Direct Known Subclasses

AuditorJson, ValidatorBase

Constant Summary collapse

DEFAULT_GEM_VALUE =
'default gem value'

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(executor_instance) ⇒ Base

Returns a new instance of Base.


15
16
17
18
# File 'lib/truemail/log/serializer/base.rb', line 15

def initialize(executor_instance)
  @executor_result = executor_instance.result
  @executor_configuration = executor_result.configuration
end

Class Method Details

.call(executor_instance) ⇒ Object


11
12
13
# File 'lib/truemail/log/serializer/base.rb', line 11

def self.call(executor_instance)
  new(executor_instance).serialize
end

Instance Method Details

#serializeObject


20
# File 'lib/truemail/log/serializer/base.rb', line 20

def serialize; end