Skip to content

Commit

Permalink
checked
Browse files Browse the repository at this point in the history
  • Loading branch information
jules testard committed Nov 20, 2011
1 parent 2fa2e3a commit bcb0353
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sinatra_server.rb
Expand Up @@ -28,14 +28,14 @@
else
id = manager.sell(@number_from, @shares, @price, @twilio, broker_url);
end
"<?xml version=1.0 encoding=UTF-8?>
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<Response>
<Exchange><Accept OrderRefId=#{@order_type}#{id} /></Exchange>
<Exchange><Accept OrderRefId=\"#{@order_type}#{id}\" /></Exchange>
</Response>"
else
"<?xml version=1.0 encoding=UTF-8?>
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<Response>
<Exchange><Reject Reason=#{s} /></Exchange>
<Exchange><Reject Reason=\"#{s}\" /></Exchange>
</Response>"
end

Expand Down

0 comments on commit bcb0353

Please sign in to comment.