Method: Unityapi::UnityClient#save_task

Defined in:
lib/unityapi/unity_client.rb

#save_task(patient_id, task_type, target_user, work_object_id, comments) ⇒ Object



460
461
462
463
# File 'lib/unityapi/unity_client.rb', line 460

def save_task(patient_id, task_type, target_user, work_object_id, comments)
  response = magic_action("SaveTask", nil, patient_id, task_type, target_user, work_object_id, comments)
  return response.body[:magic_response][:magic_result][:diffgram][:savetaskresponse][:savetaskinfo]
end