Class: OpenStack::Keystone::Admin::User::UserRole

Inherits:
Base show all
Defined in:
lib/open_stack/keystone/admin/user.rb

Overview

User Role (“admin view”) (*Warning:* incomplete)

Attributes

  • name - The name of the Role

  • description - A description of the role

Instance Method Summary collapse

Methods inherited from Base

site, site=

Methods inherited from Common

collection_path, custom_method_collection_url, element_path

Methods inherited from Base

headers

Methods inherited from ActiveResource::Base

#load

Instance Method Details

#roleObject

Return the associated instance of OpenStack::Keystone::Admin::Role



153
154
155
# File 'lib/open_stack/keystone/admin/user.rb', line 153

def role
  OpenStack::Keystone::Admin::Role.find(self.id) if persisted?
end