Module: Vindi::Rest::Role
- Included in:
- Vindi::Rest
- Defined in:
- lib/vindi/rest/role.rb
Overview
Methods for the roles API
Instance Method Summary collapse
-
#list_roles(options = {}) ⇒ Array<Hash>
List roles for the authenticate user.
Instance Method Details
#list_roles(options = {}) ⇒ Array<Hash>
List roles for the authenticate user
13 14 15 |
# File 'lib/vindi/rest/role.rb', line 13 def list_roles( = {}) get('roles', )[:roles] end |