Created
November 9, 2023 11:40
-
-
Save zarembas/a33a371844228f822ce01eb160e98f68 to your computer and use it in GitHub Desktop.
[DfE] 2484-request-for-update-in-applicant-profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
role = 'Teaching Assistant' | |
organisation = 'Kwame Nkrumah University of Science and Technology' | |
commitment = 'full_time' | |
start_date_day = 1 | |
start_date_month = 9 | |
start_date_year = 2011 | |
start_date_unknown = 'false' | |
end_date_day = 1 | |
end_date_month = 8 | |
end_date_year = 2012 | |
end_date_unknown = 'false' | |
currently_working = 'false' | |
relevant_skills = 'true' | |
job_form = CandidateInterface::RestructuredWorkHistory::JobForm.new( | |
role: role, | |
organisation:, | |
commitment:, | |
start_date_day:, | |
start_date_month:, | |
start_date_year:, | |
start_date_unknown:, | |
end_date_day:, | |
end_date_month:, | |
end_date_year:, | |
end_date_unknown:, | |
currently_working:, | |
relevant_skills:, | |
) | |
job_form.valid? | |
application = ApplicationForm.find(285293) | |
job_form.save(application) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment