Module: Bitstamper::Rest::Private::Balances
- Included in:
- Client
- Defined in:
- lib/bitstamper/rest/private/balances.rb
Instance Method Summary collapse
Instance Method Details
#balance(currency_pair: nil) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/bitstamper/rest/private/balances.rb', line 6 def balance(currency_pair: nil) check_credentials! path = path_with_currency_pair("/v2/balance", currency_pair) response = post(path) ::Bitstamper::Models::Balance.parse(response) if response end |