lib/ib/messages/incoming/order_status.rb in ib-ruby-0.9.0 vs lib/ib/messages/incoming/order_status.rb in ib-ruby-0.9.1

- old
+ new

@@ -47,9 +47,21 @@ def order_state @order_state ||= IB::OrderState.new @data[:order_state] end # Accessors to make OpenOrder and OrderStatus messages API-compatible + def client_id + order_state.client_id + end + + def parent_id + order_state.parent_id + end + + def perm_id + order_state.perm_id + end + def local_id order_state.local_id end alias order_id local_id