app/jobs/metais/sync_project_job.rb
Method parse_project
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def parse_project(p, json)
p.nazov = get_projects_attribute(json, 'Gen_Profil_nazov')
p.popis = get_projects_attribute(json, 'Gen_Profil_popis')
p.datum_zacatia = get_projects_attribute(json, 'EA_Profil_Projekt_datum_zacatia')
p.termin_ukoncenia = get_projects_attribute(json, 'EA_Profil_Projekt_termin_ukoncenia')