lib/fog/aws/parsers/cloud_formation/validate_template.rb in fog-0.7.2 vs lib/fog/aws/parsers/cloud_formation/validate_template.rb in fog-0.8.0
- old
+ new
@@ -19,23 +19,23 @@
end
def end_element(name)
case name
when 'DefaultValue', 'ParameterKey'
- @parameter[name] = @value
+ @parameter[name] = value
when 'Description'
if @in_parameters
- @parameter[name] = @value
+ @parameter[name] = value
else
- @response[name] = @value
+ @response[name] = value
end
when 'RequestId'
- @response[name] = @value
+ @response[name] = value
when 'member'
@response['Parameters'] << @parameter
@parameter = {}
when 'NoEcho'
- case @value
+ case value
when 'false'
@parameter[name] = false
when 'true'
@parameter[name] = true
end