lib/fog/aws/parsers/simpledb/get_attributes.rb in fog-0.7.2 vs lib/fog/aws/parsers/simpledb/get_attributes.rb in fog-0.8.0
- old
+ new
@@ -15,17 +15,17 @@
def end_element(name)
case name
when 'Attribute'
@attribute = nil
when 'BoxUsage'
- response[name] = @value.to_f
+ response[name] = value.to_f
when 'Name'
- @attribute = @value
+ @attribute = value
response['Attributes'][@attribute] ||= []
when 'RequestId'
- response[name] = @value
+ response[name] = value
when 'Value'
- response['Attributes'][@attribute] << sdb_decode(@value)
+ response['Attributes'][@attribute] << sdb_decode(value)
end
end
end