app/models/concerns/hook_concern.rb
def mark_failed_to_be_retried(failed_log)
      update_attributes!(
        status: self.class.failed_status ,
        failed_count: failed_count + 1,
        lock_identifier: nil,
        locked_at: nil,
        failed_response: failed_log
      )
    end
# Mark Hook as Failed Which would have to be retried Later
#
# * Author: Puneet
# * Date: 11/10/2017
# * Reviewed By:
#
# @param [Hash] failed_log - log to be written in failed response column
#
Mark Hook as Failed Which would have to be retried Later
Author: Puneet
Date: 11/10/2017
Reviewed By.
Mark Hook as Failed Which would have to be retried Later Author : Puneet Date : 11 / 10 / 2017 Reviewed By .
def mark_failed_to_be_retried(failed_log)
      update_attributes!(
        status: self.class.failed_status ,
        failed_count: failed_count + 1,
        lock_identifier: nil,
        locked_at: nil,
        failed_response: failed_log
      )
    end
def mark_failed_to_be_retried ( failed_log ) update_attributes! ( status : self . class . failed_status , failed_count : failed_count + 1 , lock_identifier : nil , locked_at : nil , failed_response : failed_log ) end
Mark Hook as Failed Which would have to be retried Later
 Author: Puneet
 Date: 11/10/2017
 Reviewed By:
Mark Hook as Failed Which would have to be retried Later Author : Puneet Date : 11 / 10 / 2017 Reviewed By :
failed_log
log to be written in failed response column
log to be written in failed response column