lib/crons/hook_processors/email_service_api_call.rb
# after completion of batch, mark hooks as processed in EmailServiceApiCall DB
#
# * Author: Puneet
# * Date: 11/11/2017
# * Reviewed By:
#
after completion of batch, mark hooks as processed in EmailServiceApiCall DB
Author: Puneet
Date: 11/11/2017
Reviewed By.
after completion of batch mark hooks as processed in EmailServiceApiCall DB Author : Puneet Date : 11 / 11 / 2017 Reviewed By .
def update_status_to_processed
        @hooks_to_be_processed.each do |hook|
          response = @success_responses[hook.id]
          next if response.nil?
          hook.mark_processed(response)
        end
      end
def update_status_to_processed @hooks_to_be_processed . each do | hook | response = @success_responses [ hook . id ] next if response . nil? hook . mark_processed ( response ) end end
after completion of batch, mark hooks as processed in EmailServiceApiCall DB
 Author: Puneet
 Date: 11/11/2017
 Reviewed By:
after completion of batch mark hooks as processed in EmailServiceApiCall DB Author : Puneet Date : 11 / 11 / 2017 Reviewed By :