Class: Mugen::Account
Class Method Summary collapse
-
.balance(options = {}) ⇒ Object
/account/balance (GET) Retrieves account balance in credits.
-
.stats(options = {}) ⇒ Object
/account/stats (GET) Retrieves account stats, such as orders made.
Methods inherited from Client
before_get, before_post, before_put, check_for_errors
Class Method Details
.balance(options = {}) ⇒ Object
/account/balance (GET) Retrieves account balance in credits
19 20 21 22 23 |
# File 'lib/mugen/account.rb', line 19 def balance(={}) res = self.get "/account/balance", :query => check_for_errors(res) res['response'] end |
.stats(options = {}) ⇒ Object
/account/stats (GET) Retrieves account stats, such as orders made.
9 10 11 12 13 |
# File 'lib/mugen/account.rb', line 9 def stats(={}) res = self.get "/account/stats", :query => check_for_errors(res) res['response'] end |