Method: ACIrb::Loader.load_xml

Defined in:
lib/loader.rb

.load_xml(doc) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/loader.rb', line 11

def self.load_xml(doc)
  dn_str = doc.attributes['dn'].to_s

  parent_mo = ACIrb::Naming.get_mo_from_dn(dn_str).parent if dn_str

  get_mo_from_xml(parent_mo, doc)
end