Sha256: 7da49c8cad9704a006979bcf61d0223a25de03c1ec8ecdf9f8924f4486b984a7

Contents?: true

Size: 435 Bytes

Versions: 50

Compression:

Stored size: 435 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module Compute

        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

50 entries across 50 versions & 3 rubygems

Version Path
fog-0.7.2 lib/fog/compute/parsers/aws/detach_volume.rb
fog-0.7.1 lib/fog/compute/parsers/aws/detach_volume.rb
fog-0.7.0 lib/fog/compute/parsers/aws/detach_volume.rb
fog-0.6.0 lib/fog/compute/parsers/aws/detach_volume.rb
fog-0.5.3 lib/fog/compute/parsers/aws/detach_volume.rb
fog-0.5.2 lib/fog/compute/parsers/aws/detach_volume.rb
fog-0.5.1 lib/fog/compute/parsers/aws/detach_volume.rb
fog-0.5.0 lib/fog/compute/parsers/aws/detach_volume.rb
phpfog-fog-0.4.1.3 lib/fog/compute/parsers/aws/detach_volume.rb
phpfog-fog-0.4.1.2 lib/fog/compute/parsers/aws/detach_volume.rb
phpfog-fog-0.4.1.1 lib/fog/compute/parsers/aws/detach_volume.rb
phpfog-fog-0.4.1 lib/fog/compute/parsers/aws/detach_volume.rb
fog-0.4.1 lib/fog/compute/parsers/aws/detach_volume.rb
fog-0.4.0 lib/fog/aws/parsers/compute/detach_volume.rb
fog-0.3.34 lib/fog/aws/parsers/compute/detach_volume.rb
fog-0.3.33 lib/fog/aws/parsers/compute/detach_volume.rb
fog-0.3.32 lib/fog/aws/parsers/compute/detach_volume.rb
fog-0.3.31 lib/fog/aws/parsers/compute/detach_volume.rb
fog-0.3.30 lib/fog/aws/parsers/compute/detach_volume.rb
fog-0.3.29 lib/fog/aws/parsers/compute/detach_volume.rb