app/views/spree/api/v1/orders/show.rabl in spree_api-1.1.0.rc1 vs app/views/spree/api/v1/orders/show.rabl in spree_api-1.1.0.rc2

- old
+ new

@@ -1,3 +1,26 @@ object @order attributes *order_attributes extends "spree/api/v1/orders/#{@order.state}" + +child :billing_address => :bill_address do + extends "spree/api/v1/orders/address" +end + +child :shipping_address => :ship_address do + extends "spree/api/v1/orders/address" +end + +child :line_items => :line_items do + extends "spree/api/v1/line_items/show" +end + +child :payments => :payments do + attributes :id, :amount, :state, :payment_method_id + child :payment_method => :payment_method do + attributes :id, :name, :environment + end +end + +child :shipments => :shipments do + extends "spree/api/v1/shipments/show" +end \ No newline at end of file