Sha256: bec0ef91b04eea008f4f8d88c8a5d69b632d9b0b4611336adc779a3fd8839f47

Contents?: true

Size: 431 Bytes

Versions: 143

Compression:

Stored size: 431 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module EC2

        class DetachVolume < Fog::Parsers::Base

          def end_element(name)
            case name
            when 'attachTime'
              @response[name] = Time.parse(@value)
            when 'device', 'instanceId', 'requestId', 'status', 'volumeId'
              @response[name] = @value
            end
          end

        end

      end
    end
  end
end

Version data entries

143 entries across 143 versions & 3 rubygems

Version Path
fog-0.0.5 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.4 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.3 lib/fog/aws/parsers/ec2/detach_volume.rb