Method: Vindi::Rest::User#current_user

Defined in:
lib/vindi/rest/user.rb

#current_userHash

List the authenticated current user

Examples:

Get current user from merchant vindi

Returns:

  • (Hash)

    a current user.



12
13
14
# File 'lib/vindi/rest/user.rb', line 12

def current_user
  get('users/current')[:user]
end