rightscale/right_develop — pull request #15 by avinashbhashyam-rs (2014-04-14 20:48:32+00:00)
Title: Empty array fix for xml

Currently when a parent_node contains no children the xml parser return child as nil

For ex:

rightscale_test_eu

is parsed as
[{"links"=>[{"rel"=>"self", "href"=>"/api/clouds/2/ssh_keys/8FA8RQF2MRS1C"}, {"rel"=>"cloud", "href"=>"/api/clouds/2"}], "actions"=>nil, "resource_uid"=>"rightscale_test_eu"}]
notice "actions"=> nil doesn't match json as json returns "actions"=> []