require 'erb' module MonkeyMail module Clients class BaseClient def render_template(template_name:, vars: {}) @template_name = template_name @vars = vars { 'html' => render_fake_template } end private def render_fake_template ERB.new(fake_template).result(binding) end def fake_template %(