Method: OpenNebula::HookPool#initialize

Defined in:
lib/opennebula/hook_pool.rb

#initialize(client, user_id = -1)) ⇒ HookPool

client a Client object that represents an XML-RPC connection user_id used to refer to a Pool with Templates from that user



38
39
40
41
42
# File 'lib/opennebula/hook_pool.rb', line 38

def initialize(client, user_id = -1)
    super('HOOK_POOL', 'HOOK', client)

    @user_id = user_id
end