Class: Truemail::Log::Serializer::Base
- Inherits:
-
Object
- Object
- Truemail::Log::Serializer::Base
show all
- Defined in:
- lib/truemail/log/serializer/base.rb
Constant Summary
collapse
- CONFIGURATION_ARRAY_ATTRS =
%i[
validation_type_by_domain
whitelisted_emails
blacklisted_emails
whitelisted_domains
blacklisted_domains
blacklisted_mx_ip_addresses
dns
].freeze
- CONFIGURATION_REGEX_ATTRS =
%i[email_pattern smtp_error_body_pattern].freeze
- 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.
25
26
27
28
|
# File 'lib/truemail/log/serializer/base.rb', line 25
def initialize(executor_instance)
@executor_result = executor_instance.result
@executor_configuration = executor_result.configuration
end
|
Class Method Details
.call(executor_instance) ⇒ Object
21
22
23
|
# File 'lib/truemail/log/serializer/base.rb', line 21
def self.call(executor_instance)
new(executor_instance).serialize
end
|
Instance Method Details
#serialize ⇒ Object
30
|
# File 'lib/truemail/log/serializer/base.rb', line 30
def serialize; end
|