Class: WBEM::METHODCALL

Inherits:
CIMElement
  • Object
show all
Defined in:
lib/wbem/cim_xml.rb

Instance Method Summary collapse

Methods inherited from CIMElement

#add_elements, #add_optional_attribute, #add_optional_element, #setName, #toxml

Constructor Details

#initialize(name, localpath, paramvalues = [], responsedestination = nil) ⇒ METHODCALL

<!ELEMENT METHODCALL ((LOCALINSTANCEPATH | LOCALCLASSPATH), PARAMVALUE*)>

<!ATTLIST METHODCALL

%CIMName;>

"""


1129
1130
1131
1132
1133
1134
1135
1136
# File 'lib/wbem/cim_xml.rb', line 1129

def initialize(name, localpath, paramvalues = [],
               responsedestination = nil)
    super("METHODCALL")
    self.setName(name)
    self.add_element(localpath)
    self.add_elements(paramvalues)
    self.add_optional_element(responsedestination)        
end