lib/ahoy_email/processor.rb in ahoy_email-1.0.0 vs lib/ahoy_email/processor.rb in ahoy_email-1.0.1
- old
+ new
@@ -49,10 +49,10 @@
UTM_PARAMETERS.each do |k|
data[k] = options[k.to_sym] if options[k.to_sym]
end
end
- mailer.message["Ahoy-Message"] = data.to_json
+ mailer.message.ahoy_data = data
end
def track_open
if html_part?
raw_source = (message.html_part || message).body.raw_source