lib/fog/compute/parsers/aws/detach_volume.rb in fog-0.7.2 vs lib/fog/compute/parsers/aws/detach_volume.rb in fog-0.8.0
- old
+ new
@@ -6,12 +6,12 @@
class DetachVolume < Fog::Parsers::Base
def end_element(name)
case name
when 'attachTime'
- @response[name] = Time.parse(@value)
+ @response[name] = Time.parse(value)
when 'device', 'instanceId', 'requestId', 'status', 'volumeId'
- @response[name] = @value
+ @response[name] = value
end
end
end