Class: WBEM::IMETHODCALL

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, localnamespacepath, iparamvalues = [], responsedestination = nil) ⇒ IMETHODCALL

<!ELEMENT IMETHODCALL (LOCALNAMESPACEPATH, IPARAMVALUE*),

                      RESPONSEDESTINATION?)>
<!ATTLIST IMETHODCALL

%CIMName;>

"""


1105
1106
1107
1108
1109
1110
1111
1112
# File 'lib/wbem/cim_xml.rb', line 1105

def initialize(name, localnamespacepath, iparamvalues = [],
               responsedestination = nil)
    super("IMETHODCALL")
    self.setName(name)
    self.add_element(localnamespacepath)        
    self.add_elements(iparamvalues)
    self.add_optional_element(responsedestination)        
end