lib/nephophobia/image.rb in nephophobia-0.0.6 vs lib/nephophobia/image.rb in nephophobia-0.0.7

- old
+ new

@@ -36,10 +36,11 @@ # } def all filter = {} response = @client.action "DescribeImages", filter - Nephophobia.coerce(response.body['DescribeImagesResponse']['imagesSet']['item']).collect do |data| + item = response.body['DescribeImagesResponse']['imagesSet']['item'] + Nephophobia.coerce(item).collect do |data| ImageData.new data end end ##