lib/order.rb in ruby-trade-0.2 vs lib/order.rb in ruby-trade-0.3
- old
+ new
@@ -1,10 +1,10 @@
require 'observer'
class Order
include Observable
- attr_reader :id, :local_id, :side, :size, :sent_at, :status
+ attr_reader :id, :side, :size, :sent_at, :status
attr_accessor :price, :status
def initialize id, side, price, size
@id, @side, @price, @size = id, side, price, size
@sent_at = Time.now