module Bitstamper::Rest::Public::OrderBook
Public Instance Methods
order_book(currency_pair = "btcusd")
click to toggle source
# File lib/bitstamper/rest/public/order_book.rb, line 6 def order_book(currency_pair = "btcusd") response = get(path_with_currency_pair("/v2/order_book", currency_pair)) ::Bitstamper::Models::OrderBook.new(response) if response end