lib/magento/order.rb in magentor-0.2.8 vs lib/magento/order.rb in magentor-0.2.9
- old
+ new
@@ -106,18 +106,18 @@
end
end
def order_items
self.items.collect do |item|
- OrderItem.new(item)
+ Magento::OrderItem.new(item)
end
end
def shipping_address
- CustomerAddress.new(@attributes["shipping_address"])
+ Magento::CustomerAddress.new(@attributes["shipping_address"])
end
def billing_address
- CustomerAddress.new(@attributes["billing_address"])
+ Magento::CustomerAddress.new(@attributes["billing_address"])
end
end
end
\ No newline at end of file