lib/email/hook_creator/send_transactional_mail.rb
def validate_template_name
        GlobalConstant::PepoCampaigns.supported_templates.include?(@template_name) ? success : error_with_data(
          'e_hc_stm_1',
          'something_went_wrong',
          GlobalConstant::ErrorAction.default,
          {template_name: @template_name}
        )
      end
# check if this template is supported currently
#
# * Author: Puneet
# * Date: 12/01/2018
# * Reviewed By:
#
# @return [Result::Base] returns an object of Result::Base class
#
check if this template is supported currently
Author: Puneet
Date: 12/01/2018
Reviewed By.
check if this template is supported currently Author : Puneet Date : 12 / 01 / 2018 Reviewed By .
def validate_template_name
        GlobalConstant::PepoCampaigns.supported_templates.include?(@template_name) ? success : error_with_data(
          'e_hc_stm_1',
          'something_went_wrong',
          GlobalConstant::ErrorAction.default,
          {template_name: @template_name}
        )
      end
def validate_template_name GlobalConstant :: PepoCampaigns . supported_templates . include? ( @template_name ) ? success : error_with_data ( 'e_hc_stm_1' , 'something_went_wrong' , GlobalConstant :: ErrorAction . default , { template_name : @template_name } ) end
check if this template is supported currently
 Author: Puneet
 Date: 12/01/2018
 Reviewed By:
check if this template is supported currently Author : Puneet Date : 12 / 01 / 2018 Reviewed By :
returns an object of Result::Base class
returns an object of Result :: Base class
Result::Base