Class: Magento::CustomerAddress
Instance Attribute Summary
Attributes inherited from Abstract
#attributes
Class Method Summary
collapse
Methods inherited from Abstract
commit, connect, first, #initialize, #method_missing, #object_attributes=
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Magento::Abstract
Class Method Details
.create(address_attributes) ⇒ Object
15
16
17
18
|
# File 'lib/customer_address.rb', line 15
def self.create(address_attributes)
connect
@connection.call("customer_address.create", address_attributes)
end
|
.delete(customer_address_id) ⇒ Object
25
26
27
28
|
# File 'lib/customer_address.rb', line 25
def self.delete(customer_address_id)
connect
@connection.call("customer_address.delete",customer_address_id)
end
|
.find(customer_address_id) ⇒ Object
10
11
12
13
|
# File 'lib/customer_address.rb', line 10
def self.find(customer_address_id)
connect
@connection.call("customer_address.info", customer_address_id)
end
|
.list(customer_address_id) ⇒ Object
5
6
7
8
|
# File 'lib/customer_address.rb', line 5
def self.list(customer_address_id)
connect
@connection.call("customer_address.list", customer_address_id)
end
|
.update(address_attributes) ⇒ Object
20
21
22
23
|
# File 'lib/customer_address.rb', line 20
def self.update(address_attributes)
connect
@connection.call("customer_address.update", address_attributes)
end
|