app/models/interactive_run_state.rb
# Used by CollaborationRun to copy answer to collaborators.
Used by CollaborationRun to copy answer to collaborators.
Used by CollaborationRun to copy answer to collaborators .
def copy_answer!(another_int_run_state)
    return if interactive.has_report_url || another_int_run_state.reporting_url.present?
    self.update_attributes!(
      raw_data: another_int_run_state.raw_data,
      metadata: another_int_run_state.metadata
    )
  end
def copy_answer! ( another_int_run_state ) return if interactive . has_report_url || another_int_run_state . reporting_url . present? self . update_attributes! ( raw_data : another_int_run_state . raw_data , metadata : another_int_run_state . metadata ) end
Used by CollaborationRun to copy answer to collaborators.
Used by CollaborationRun to copy answer to collaborators .
# CFM-based projects are the only ones that use reporting URL. Currently, CFM handles run with collaborators # itself. Copying interactive state and replacing reporting URLs could break it.
another_int_run_state
<not_specific>