app/services/developer_management/send_secure_data_access_link.rb
# Send secure data access verification mail
#
# * Author: Dhananjay
# * Date: 01/06/2019
# * Reviewed By:
#
Send secure data access verification mail
Author: Dhananjay
Date: 01/06/2019
Reviewed By.
Send secure data access verification mail Author : Dhananjay Date : 01 / 06 / 2019 Reviewed By .
def send_mail
      Email::HookCreator::SendTransactionalMail.new(
        receiver_entity_id: @manager_id,
        receiver_entity_kind: GlobalConstant::EmailServiceApiCallHook.manager_receiver_entity_kind,
        template_name: GlobalConstant::PepoCampaigns.platform_secure_data_access_template,
        template_vars: {
          secure_data_access_token: CGI.escape(@secure_data_access_token),
          company_web_domain: CGI.escape(GlobalConstant::CompanyWeb.domain),
          sub_environment: GlobalConstant::Base.sub_environment_name
        }
      ).perform
      success
    end
def send_mail Email :: HookCreator :: SendTransactionalMail . new ( receiver_entity_id : @manager_id , receiver_entity_kind : GlobalConstant :: EmailServiceApiCallHook . manager_receiver_entity_kind , template_name : GlobalConstant :: PepoCampaigns . platform_secure_data_access_template , template_vars : { secure_data_access_token : CGI . escape ( @secure_data_access_token ) , company_web_domain : CGI . escape ( GlobalConstant :: CompanyWeb . domain ) , sub_environment : GlobalConstant :: Base . sub_environment_name } ) . perform success end
Send secure data access verification mail
 Author: Dhananjay
 Date: 01/06/2019
 Reviewed By:
Send secure data access verification mail Author : Dhananjay Date : 01 / 06 / 2019 Reviewed By :