Class: CaVirtex::API::Public
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ Public
constructor
A new instance of Public.
- #orderbook(params = {}) ⇒ Object
Constructor Details
#initialize ⇒ Public
Returns a new instance of Public.
4 5 |
# File 'lib/ca_virtex/api/public.rb', line 4 def initialize end |
Instance Method Details
#orderbook(params = {}) ⇒ Object
7 8 9 10 11 |
# File 'lib/ca_virtex/api/public.rb', line 7 def orderbook(params = {}) params.slice!(:order_currency, :payment_currency, :count) response = (orderbook_call(params).body) parse_orders(response, params[:count]) end |