class OpenNebula::OpenNebulaServicePool

ServicePool class

Constants

DOCUMENT_TYPE

Public Class Methods

new(client, user_id = -2) click to toggle source
Calls superclass method OpenNebula::DocumentPool.new
# File lib/opennebula/flow/service_pool.rb, line 24
def initialize(client, user_id = -2)
    super(client, user_id)
end

Public Instance Methods

factory(element_xml) click to toggle source
# File lib/opennebula/flow/service_pool.rb, line 28
def factory(element_xml)
    service = OpenNebula::Service.new(element_xml, @client)
    service.load_body
    service
end