Module: Buttercoin::Client::UnauthMethods
- Included in:
- Buttercoin::Client
- Defined in:
- lib/buttercoin/client/unauth_methods.rb
Instance Method Summary collapse
-
#get_order_book ⇒ Object
Retrieve the orderbook.
-
#get_ticker ⇒ Object
Retrieve the ticker.
-
#get_trade_history ⇒ Object
Retrieve the last 100 trades.
Instance Method Details
#get_order_book ⇒ Object
Retrieve the orderbook
17 18 19 |
# File 'lib/buttercoin/client/unauth_methods.rb', line 17 def get_order_book get '/orderbook', nil, {}, false end |
#get_ticker ⇒ Object
Retrieve the ticker
9 10 11 |
# File 'lib/buttercoin/client/unauth_methods.rb', line 9 def get_ticker get '/ticker', nil, {}, false end |
#get_trade_history ⇒ Object
Retrieve the last 100 trades
25 26 27 28 |
# File 'lib/buttercoin/client/unauth_methods.rb', line 25 def get_trade_history mash = get '/trades', nil, {}, false mash.trades end |