Skip to content

Commit

Permalink
Update bitstamp.rb
Browse files Browse the repository at this point in the history
Bitstamp is changed and POST to 'order_book' replaced to 'GET' method
  • Loading branch information
Vadim committed Nov 9, 2013
1 parent 7846fc2 commit adeda18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bitstamp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit adeda18

Please sign in to comment.