Added User::SELF constant to ruby OCA

This commit is contained in:
Javi Fontan committed 2011-07-11 16:07:06 +02:00
1 parent 0183895ce0
commit 0940802149
1 file changed
+3 -1
+3 -1
View File
@@ -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')