lib/azure/base_management/serialization.rb in azure-0.7.0.pre vs lib/azure/base_management/serialization.rb in azure-0.7.0.pre2

- old
+ new

@@ -23,9 +23,14 @@ xml.each do |meta_node| loc = Location.new loc.name = xml_content(meta_node, 'Name') available_services = meta_node.css('AvailableServices').children loc.available_services = available_services.to_ary.join(', ') + role_sizes = [] + meta_node.css('VirtualMachinesRoleSizes RoleSize').each do | role_size_node | + role_sizes << role_size_node.text + end + loc.role_sizes = role_sizes location_objs << loc end location_objs end