Method: Hash.xml_array

Defined in:
lib/aliyun/mqs.rb

.xml_array(content, *path) ⇒ Object



10
11
12
13
# File 'lib/aliyun/mqs.rb', line 10

def self.xml_array content, *path
  o = xml_object(content, *path)
  return (o.is_a?(Array) ? o : [o]).reject{|n| n.empty?}
end