Class: Fog::Parsers::Compute::AWS::DetachVolume

Inherits:
Base
  • Object
show all
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