Sha256: 749593ecbd71c664ea3d058ff8084d521a01ec662169a1d73e8bec4998516834
Contents?: true
Size: 570 Bytes
Versions: 14
Compression:
Stored size: 570 Bytes
Contents
module LogSanity module LogSubscriber class ActionMailer < Base def deliver(event) info do { 'at' => Time.now, 'event' => 'mail_send', 'from' => Array(event.payload[:from]), 'to' => Array(event.payload[:to]) } end end def receive(event) info do { 'at' => Time.now, 'event' => 'mail_receive', 'from' => Array(event.payload[:from]), 'to' => Array(event.payload[:to]) } end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems