# File lib/cimi/helpers/cimi_helper.rb, line 28
  def to_xml_cimi_collection(_self)
    model_name = first.class.xml_tag_name
    XmlSimple.xml_out({
      "xmlns" => "http://www.dmtf.org/cimi",
      "uri" => [ _self.send("#{model_name.underscore.pluralize}_url""#{model_name.underscore.pluralize}_url") ],
      "name" => [ "default" ],
      "created" => [ Time.now.to_s ],
      model_name => map { |model| { 'href' => model.uri } }
    }, :root_name => "#{model_name}Collection")
  end