Class: Fog::Parsers::AWS::Compute::DetachVolume
- Inherits:
-
Base
- Object
- Base
- Fog::Parsers::AWS::Compute::DetachVolume
- Defined in:
- lib/fog/aws/parsers/compute/detach_volume.rb
Instance Method Summary collapse
Instance Method Details
#end_element(name) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/fog/aws/parsers/compute/detach_volume.rb', line 6 def end_element(name) case name when 'attachTime' @response[name] = Time.parse(value) when 'device', 'instanceId', 'requestId', 'status', 'volumeId' @response[name] = value end end |