Class: Magento::Base
- Inherits:
-
Object
- Object
- Magento::Base
- Extended by:
- ClassMethods
- Includes:
- InstanceMethods
- Defined in:
- lib/magento/base.rb
Direct Known Subclasses
Category, CategoryAttribute, Country, Customer, CustomerAddress, CustomerGroup, Inventory, Invoice, Order, OrderItem, Product, ProductAttribute, ProductAttributeSet, ProductLink, ProductMedia, ProductStock, ProductTierPrice, ProductType, Region, Shipment
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Attribute Summary collapse
-
.connection ⇒ Object
Returns the value of attribute connection.
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
Method Summary
Methods included from ClassMethods
Methods included from 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 Attribute Details
.connection ⇒ Object
Returns the value of attribute connection.
12 13 14 |
# File 'lib/magento/base.rb', line 12 def connection @connection end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
11 12 13 |
# File 'lib/magento/base.rb', line 11 def attributes @attributes end |