Sha256: 52224911fb33ca0b31bfd5e58525f9c651b484c3cfd3c01244deae07c1952675
Contents?: true
Size: 445 Bytes
Versions: 5
Compression:
Stored size: 445 Bytes
Contents
module AhoyEmail class Tracker attr_reader :message def initialize(message) @message = message end def perform Safely.safely do # perform_deliveries check still needed in observer if message.perform_deliveries && message.ahoy_data data = message.ahoy_data.merge(message: message) message.ahoy_message = AhoyEmail.track_method.call(data) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems