lib/notification_engine/mediums/base.rb
# parses the template in en.yml
# for example, the email body for the CalendarChangeNotification
# it passes a data hash to the template to populate the template
# with data specific to this notification, like the recipient name
parses the template in en.yml
for example, the email body for the CalendarChangeNotification
it passes a data hash to the template to populate the template
with data specific to this notification, like the recipient name
parses the template in en . yml for example the email body for the CalendarChangeNotification it passes a data hash to the template to populate the template with data specific to this notification like the recipient name
def parse_template(template_name)
        source = find_template(template_name)
        template = Liquid::Template.parse(source, error_mode: :strict)
        template.render(template_data, strict_variables: true)
      end
def parse_template ( template_name ) source = find_template ( template_name ) template = Liquid :: Template . parse ( source , error_mode : :strict ) template . render ( template_data , strict_variables : true ) end
parses the template in en.yml
for example, the email body for the CalendarChangeNotification
it passes a data hash to the template to populate the template
with data specific to this notification, like the recipient name
parses the template in en . yml for example the email body for the CalendarChangeNotification it passes a data hash to the template to populate the template with data specific to this notification like the recipient name
template_name
<not_specific>