class OpenNebula::DatastorePool
Constants
- DATASTORE_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
# File lib/opennebula/datastore_pool.rb, line 35 def initialize(client) super('DATASTORE_POOL','DATASTORE',client) end
Public Instance Methods
factory(element_xml)
click to toggle source
Factory method to create User objects
# File lib/opennebula/datastore_pool.rb, line 40 def factory(element_xml) OpenNebula::Group.new(element_xml,@client) end
info()
click to toggle source
Retrieves all the Groups in the pool.
Calls superclass method
# File lib/opennebula/datastore_pool.rb, line 49 def info() super(DATASTORE_POOL_METHODS[:info]) end
Also aliased as: info!