Class: Bitbot::Trader::Providers::MtGox::AccountInfoRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/bitbot/trader/providers/mt_gox/account_info_request.rb

Overview

POST request to /money/info

Instance Attribute Summary

Attributes inherited from Request

#client

Instance Method Summary collapse

Methods inherited from Request

#initialize

Constructor Details

This class inherits a constructor from Bitbot::Trader::Request

Instance Method Details

#callAccount

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Fetches user’s account info

Returns:



16
17
18
19
# File 'lib/bitbot/trader/providers/mt_gox/account_info_request.rb', line 16

def call
   = client.post("money/info")["data"]
  AccountInfoParser.new().parse
end