class WcoEmail::ApplicationMailer

def self.renderer ctx:

def self.renderer ctx:
  out = self.new
  out.instance_variable_set( :@ctx,              ctx )
  out.instance_variable_set( :@lead,             ctx.lead )
  out.instance_variable_set( :@utm_tracking_str, ctx.utm_tracking_str )
  out.instance_variable_set( :@unsubscribe_url,  ctx.unsubscribe_url )
  out.instance_variable_set( :@config,           ctx.config )
  out.instance_variable_set( :@renderer,         out )
  return out
end