Class: Magento::Base

Inherits:
Object
  • Object
show all
Extended by:
ClassMethods
Includes:
InstanceMethods
Defined in:
lib/magento/base.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Attribute Summary collapse

Instance Attribute Summary collapse

Method Summary

Methods included from ClassMethods

commit

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

.connectionObject

Returns the value of attribute connection.



12
13
14
# File 'lib/magento/base.rb', line 12

def connection
  @connection
end

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



11
12
13
# File 'lib/magento/base.rb', line 11

def attributes
  @attributes
end