class OpenNebula::UserPool
Constants
- USER_POOL_METHODS
Constants and Class attribute accessors
Public Class Methods
new(client)
click to toggle source
client
a Client object that
represents a XML-RPC connection
Calls superclass method
OpenNebula::Pool.new
# File lib/opennebula/user_pool.rb, line 35 def initialize(client) super('USER_POOL','USER',client) end
Public Instance Methods
factory(element_xml)
click to toggle source
Factory method to create User objects
# File lib/opennebula/user_pool.rb, line 40 def factory(element_xml) OpenNebula::User.new(element_xml,@client) end
info()
click to toggle source
Retrieves all the Users in the pool.
Calls superclass method
OpenNebula::Pool#info
# File lib/opennebula/user_pool.rb, line 49 def info() super(USER_POOL_METHODS[:info]) end
Also aliased as: info!