app/services/developer_management/verify_secure_data_access.rb
# Generate and send secure data access verification token
# send mail
#
# * Author: Dhananjay
# * Date: 01/06/2019
# * Reviewed By: Kedar
#
# @Sets @manager_validation_hash_id, @email_already_sent_flag
#
Generate and send secure data access verification token
send mail

Dhananjay
Date: 01/06/2019
Reviewed By: Kedar
Generate and send secure data access verification token send mail Dhananjay Date : 01 / 06 / 2019 Reviewed By : Kedar
def generate_auth_link_and_send
      r = DeveloperManagement::SendSecureDataAccessLink.new(manager_id: @manager_id).perform
      return r unless r.success?
      @manager_validation_hash_id = r.data[:manager_validation_hash_id]
      @email_already_sent_flag = 1
      success
    end
def generate_auth_link_and_send r = DeveloperManagement :: SendSecureDataAccessLink . new ( manager_id : @manager_id ) . perform return r unless r . success? @manager_validation_hash_id = r . data [ :manager_validation_hash_id ] @email_already_sent_flag = 1 success end
Generate and send secure data access verification token
send mail
Generate and send secure data access verification token send mail
# NOTE:- we can not send mail from sidekiq thread, # because we need to fetch 'manager_validation_hash_id' from the response of this enqueue job.
Sets
None