Class: OrderItem
- Defined in:
- app/models/order_item.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Instance Method Details
#order ⇒ Object
2 3 4 |
# File 'app/models/order_item.rb', line 2 def order Order.find(:one, :from => "/v1/orders/#{self.order_id}.xml") end |
#properties ⇒ Object
6 7 8 |
# File 'app/models/order_item.rb', line 6 def properties OrderItemProperty.find(:all, :from => "/v1/order_items/#{self.id}/properties.xml") end |