lib/kaesen/zaif.rb in kaesen-0.1.1 vs lib/kaesen/zaif.rb in kaesen-0.2.0

- old
+ new

@@ -294,11 +294,12 @@ # Cancel all open orders # @abstract # @return [array] # success: [bool] status def cancel_all - opens.each{|h| - print cancel(h["id"]) + have_key? + opens.collect{|h| + cancel(h["id"]) } end private