Class: Keystone::V2_0::Resource::User

Inherits:
Base
  • Object
show all
Defined in:
lib/keystone/v2_0/resource/user.rb

Constant Summary collapse

@@attr_mappings =
{ "id"       => :id,
"username" => :username,
"name"     => :name,
"enabled"  => :enabled,
"email"    => :email }

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Keystone::V2_0::Resource::Base

Instance Attribute Details

#emailObject

Returns the value of attribute email.



11
12
13
# File 'lib/keystone/v2_0/resource/user.rb', line 11

def email
  @email
end

#enabledObject

Returns the value of attribute enabled.



10
11
12
# File 'lib/keystone/v2_0/resource/user.rb', line 10

def enabled
  @enabled
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/keystone/v2_0/resource/user.rb', line 7

def id
  @id
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/keystone/v2_0/resource/user.rb', line 9

def name
  @name
end

#usernameObject

Returns the value of attribute username.



8
9
10
# File 'lib/keystone/v2_0/resource/user.rb', line 8

def username
  @username
end

Class Method Details

.attr_mappingsObject



19
20
21
# File 'lib/keystone/v2_0/resource/user.rb', line 19

def self.attr_mappings
  @@attr_mappings
end