module WolfCore::Burnett::Onboarding::CandidateOperations
def update_candidate!(erecruit_token:, erecruit_platform_url:, candidate_id:, candidate:, error_message:, error_data: nil)
def update_candidate!(erecruit_token:, erecruit_platform_url:, candidate_id:, candidate:, error_message:, error_data: nil) response = safe_http_put( headers: { "Authorization" => "Bearer #{erecruit_token}" }, url: "#{erecruit_platform_url}/Candidate/#{candidate_id}", body: candidate, error_message: error_message, error_data: error_data, ) response.body end