Class: Bitbot::Trader::Providers::MtGox::AccountInfoRequest
- 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
Instance Method Summary collapse
-
#call ⇒ Account
private
Fetches user’s account info.
Methods inherited from Request
Constructor Details
This class inherits a constructor from Bitbot::Trader::Request
Instance Method Details
#call ⇒ Account
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
16 17 18 19 |
# File 'lib/bitbot/trader/providers/mt_gox/account_info_request.rb', line 16 def call raw_account = client.post("money/info")["data"] AccountInfoParser.new(raw_account).parse end |