def create_instance(klass, row, created)
      # the new object
      logger.debug { "The migrator is building #{klass.qp}..." }
      created << obj = klass.new
      migrate_properties(obj, row, created)
      add_defaults(obj, row, created)
      logger.debug { "The migrator built #{obj}." }
      obj
    end
def create_instance(klass, row, created)
      # the new object
      logger.debug { "The migrator is building #{klass.qp}..." }
      created << obj = klass.new
      migrate_properties(obj, row, created)
      add_defaults(obj, row, created)
      logger.debug { "The migrator built #{obj}." }
      obj
    end
Creates an instance of the given klass from the given row.
 The new klass instance and all intermediate migrated instances are added to the
 created set.

 @param [Class] klass
 @param [{Symbol => Object}] row the input row
 @param [<Resource>] created the migrated instances for this row
 @return [Resource] the new instance