Class: Keystone::V2_0::Resource::User
- 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
-
#email ⇒ Object
Returns the value of attribute email.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Keystone::V2_0::Resource::Base
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
11 12 13 |
# File 'lib/keystone/v2_0/resource/user.rb', line 11 def email @email end |
#enabled ⇒ Object
Returns the value of attribute enabled.
10 11 12 |
# File 'lib/keystone/v2_0/resource/user.rb', line 10 def enabled @enabled end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/keystone/v2_0/resource/user.rb', line 7 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/keystone/v2_0/resource/user.rb', line 9 def name @name end |
#username ⇒ Object
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_mappings ⇒ Object
19 20 21 |
# File 'lib/keystone/v2_0/resource/user.rb', line 19 def self.attr_mappings @@attr_mappings end |