lib/class_info_import_helper.rb
Method update_runs_from_csv_line
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.update_runs_from_csv_line(import_line)
remote_endpoint = remote_endpoint_path_for(import_line)
clazz_id, class_hash, learner_id, learner_key, user_id, resource_link_id = import_line.strip.split(",")
updated_run_count = 0
info_url = class_info_url_path(clazz_id)