lib/swirl/ec2.rb in swirl-1.6.0 vs lib/swirl/ec2.rb in swirl-1.6.1
- old
+ new
@@ -95,10 +95,10 @@
if ENV["SWIRL_LOG"]
puts response.body
end
data = Crack::XML.parse(xml)
- blk.call([code, data])
+ blk.call(code, data)
end
end
def post(body, &blk)
headers = { "Content-Type" => "application/x-www-form-urlencoded" }