Class: OnlineSim::GetUser
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from OnlineSim::Base
Instance Method Details
#balance ⇒ Object
5 6 7 |
# File 'lib/onlinesim/GetUser.rb', line 5 def balance return self ._get(:endpoint => 'getBalance', :params => {income: true}) end |
#profile ⇒ Object
9 10 11 |
# File 'lib/onlinesim/GetUser.rb', line 9 def profile return self ._get(:endpoint => 'getProfile')['profile'] end |