Returns a new instance of Category.
4 5 6 7 8
# File 'lib/magento/import/category.rb', line 4 def initialize(products) @products = products @category_root = Magento::Category.all @cats = @category_root.children_data end