Output order cycle coordinator fees in JSON

This commit is contained in:
Rohan Mitchell
2013-07-29 17:05:10 +10:00
parent a19a43da79
commit f613da30d0

View File

@@ -3,7 +3,12 @@ r.element :order_cycle, @order_cycle do
r.element :name
r.element :orders_open_at, @order_cycle.orders_open_at.to_s
r.element :orders_close_at, @order_cycle.orders_close_at.to_s
r.element :coordinator_id
r.list_of :coordinator_fees do |fee|
r.element :id
end
r.list_of :exchanges do |exchange|
r.element :id
r.element :sender_id