Module: Bitstamper::Rest::Public::OrderBook
- Included in:
- Client
- Defined in:
- lib/bitstamper/rest/public/order_book.rb
Instance Method Summary collapse
Instance Method Details
#order_book(currency_pair = "btcusd") ⇒ Object
6 7 8 9 |
# 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 |