From adeda1828ce2f8454c9aa741bb15226c5ceca09a Mon Sep 17 00:00:00 2001 From: Vadim Date: Sat, 9 Nov 2013 20:10:04 +0600 Subject: [PATCH] Update bitstamp.rb Bitstamp is changed and POST to 'order_book' replaced to 'GET' method --- lib/bitstamp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bitstamp.rb b/lib/bitstamp.rb index 43ae85f..9bff87c 100644 --- a/lib/bitstamp.rb +++ b/lib/bitstamp.rb @@ -52,7 +52,7 @@ def self.ticker end def self.order_book - return JSON.parse Bitstamp::Net.post('/order_book/').body_str + return JSON.parse Bitstamp::Net.get('/order_book/').body_str end def self.setup