Module: MaxExchangeApi::PrivateV2::AccountApi

Included in:
MaxExchangeApi::PrivateV2Api
Defined in:
lib/max_exchange_api/private_v2/account_api.rb

Instance Method Summary collapse

Instance Method Details

#account(currency) ⇒ Object



10
11
12
# File 'lib/max_exchange_api/private_v2/account_api.rb', line 10

def (currency)
  send_request(:get, "/members/accounts/#{currency}", {})
end

#accountsObject



6
7
8
# File 'lib/max_exchange_api/private_v2/account_api.rb', line 6

def accounts
  send_request(:get, '/members/accounts', {})
end