Module: Card::Set::Right::HtmlMessage::EmailHtmlFormat

Extended by:
AbstractFormat
Defined in:
card/tmpsets/set/mod005-card-mod-email/right/html_message.rb,
card/tmpsets/set/mod004-card-mod-email/right/html_message.rb

Instance Method Summary collapse

Instance Method Details

#email_content(context) ⇒ Object



15
16
17
18
19
# File 'card/tmpsets/set/mod005-card-mod-email/right/html_message.rb', line 15

def email_content context
  content = contextual_content context
  return unless content.present?
  Card::Mailer.layout content
end