class ProductAggregator::LoggerAbstract
ProductAggregator::LoggerAbstract
describes the interface class for logger.
Public Instance Methods
error(_message:)
click to toggle source
the redis you provide must implement these methods
# File lib/product-aggregator/logger_abstract.rb, line 8 def error(_message:) raise NotImplementedError, "You must implement #{method_name}" end
Private Instance Methods
method_name()
click to toggle source
# File lib/product-aggregator/logger_abstract.rb, line 14 def method_name caller_locations(1, 1)[0].label end