Class: OnlineSim::GetUser
- Inherits:
-
Base
- Object
- Base
- OnlineSim::GetUser
show all
- Defined in:
- lib/onlinesim/GetUser.rb
Constant Summary
Constants inherited
from Base
Base::HTTP_OK_CODE
Instance Method Summary
collapse
Methods inherited from Base
#initialize
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
|