Module: Vindi::Rest::User
- Included in:
- Vindi::Rest
- Defined in:
- lib/vindi/rest/user.rb
Overview
Methods for the users API
Instance Method Summary collapse
-
#current_user ⇒ Hash
List the authenticated current user.
Instance Method Details
#current_user ⇒ Hash
List the authenticated current user
12 13 14 |
# File 'lib/vindi/rest/user.rb', line 12 def current_user get('users/current')[:user] end |