mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Added User::SELF constant to ruby OCA
This commit is contained in:
1 parent
0183895ce0
commit
0940802149
1 file changed
+3
-1
@@ -31,6 +31,8 @@ module OpenNebula
|
||||
:delgroup => "user.delgroup"
|
||||
}
|
||||
|
||||
SELF = -1
|
||||
|
||||
# Creates a User description with just its identifier
|
||||
# this method should be used to create plain User objects.
|
||||
# +id+ the id of the user
|
||||
@@ -60,7 +62,7 @@ module OpenNebula
|
||||
# ---------------------------------------------------------------------
|
||||
# XML-RPC Methods for the User Object
|
||||
# ---------------------------------------------------------------------
|
||||
|
||||
|
||||
# Retrieves the information of the given User.
|
||||
def info()
|
||||
super(USER_METHODS[:info], 'USER')
|
||||
|
||||
Reference in new issue
Block a user