app/models/solidus_import_products/parser.rb
module SolidusImportProducts
module Parser
def parse(strategy, data_file, options)
if strategy == :csv
Parser::Csv.new(data_file, options)
else
raise SolidusImportProducts::Exception::InvalidParseStrategy
end
end
module_function :parse
# Seguir arreglando esto apra arriba. PAra abajo aprece estar aunque un poco ams de test no vendiran mal
end
end