class Ivapi::Client::Account
Public Instance Methods
bonuses(count = 10)
click to toggle source
Get account bonuses.
count - The Integer of how many rows need to return (default: 10).
Returns the Hash of account bonuses.
# File lib/ivapi/client/account.rb, line 46 def bonuses(count = 10) params = { command: 'account_bonuses', count: count } get('/json.php', params) end
credits(count = 10)
click to toggle source
Get account credits.
count - The Integer of how many rows need to return (default: 10).
Returns the Hash of account credits.
# File lib/ivapi/client/account.rb, line 36 def credits(count = 10) params = { command: 'account_credits', count: count } get('/json.php', params) end
information()
click to toggle source
Get information about account.
Returns the Hash of account information.
# File lib/ivapi/client/account.rb, line 9 def information params = { command: 'account_info' } get('/json.php', params) end
Also aliased as: info
orders()
click to toggle source
Get account orders.
Returns the Hash of account orders.
# File lib/ivapi/client/account.rb, line 18 def orders params = { command: 'account_orders' } get('/json.php', params) end
services()
click to toggle source
Get account services.
Returns the Hash of account services.
# File lib/ivapi/client/account.rb, line 26 def services params = { command: 'account_services' } get('/json.php', params) end