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.1.4 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.1.3 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.1.2 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.1.1 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.1.0 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.100 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.99 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.98 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.97 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.96 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.95 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.94 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.93 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.92 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.91 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.90 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.89 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.88 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.87 lib/fog/aws/parsers/ec2/detach_volume.rb
fog-0.0.86 lib/fog/aws/parsers/ec2/detach_volume.rb