Class: Magento::CustomerGroup
- Defined in:
- lib/magento/customer_group.rb
Overview
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
-
.list ⇒ Object
customer_group.list Retrieve customer groups.
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
customer_group.list Retrieve customer groups
Return: array
9 10 11 12 13 14 |
# File 'lib/magento/customer_group.rb', line 9 def list results = commit("list", nil) results.collect do |result| new(result) end end |