Class: Magento::ProductType
Overview
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
-
.list ⇒ Object
catalog_product_type.list Retrieve product types.
Methods included from Base::ClassMethods
Methods included from Base::InstanceMethods
#id, #id=, #initialize, #method_missing, #object_attributes=
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Magento::Base::InstanceMethods
Class Method Details
.list ⇒ Object
catalog_product_type.list Retrieve product types
Return: array
9 10 11 12 13 14 |
# File 'lib/magento/product_type.rb', line 9 def list results = commit("list", nil) results.collect do |result| new(result) end end |