Sha256: 8ed326ee8dd033ff97784f518ac429577528ecca1affe4b4d1df0a33bbf1b118
Contents?: true
Size: 445 Bytes
Versions: 3
Compression:
Stored size: 445 Bytes
Contents
module Stackify class LogsSenderWorker < Worker def initialize name = 'LogsSender worker' super @type = :logs_send end def after_perform result if result.try(:code) == '200' Stackify.internal_log :info, "#{@name}: Sending batch of msgs is successfully completed" else Stackify.log_internal_error "#{@name}: Sending batch of msgs is failed: #{result.try(:msg)}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems