Class: FIS::Client::User
- Inherits:
-
Object
- Object
- FIS::Client::User
- Defined in:
- lib/fis/client/user.rb
Instance Method Summary collapse
-
#initialize(base:) ⇒ User
constructor
A new instance of User.
- #me ⇒ Object
Constructor Details
#initialize(base:) ⇒ User
Returns a new instance of User.
6 7 8 |
# File 'lib/fis/client/user.rb', line 6 def initialize(base:) @base = base end |
Instance Method Details
#me ⇒ Object
10 11 12 |
# File 'lib/fis/client/user.rb', line 10 def me @base.client.get('users/me').body end |