osunyorg/admin

View on GitHub
app/services/importers/people.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Importers
  class People < Base

    protected

    def analyze_hash(hash, index)
      hash_to_person = HashToPerson.new(@university, @language, hash)
      add_error(hash_to_person.error, index + 1) unless hash_to_person.valid?
    end

  end
end