Sha256: 2a6ab876482077b296baa68e6d0326c429f84adab649254cbf9fcf9044279441

Contents?: true

Size: 433 Bytes

Versions: 111

Compression:

Stored size: 433 Bytes

Contents

module Fog
  module Parsers
    module Compute
      module AWS

        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

111 entries across 111 versions & 19 rubygems

Version Path
michiels-fog-1.3.1 lib/fog/aws/parsers/compute/detach_volume.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/parsers/compute/detach_volume.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/detach_volume.rb
fog-1.3.1 lib/fog/aws/parsers/compute/detach_volume.rb
fog-1.3.0 lib/fog/aws/parsers/compute/detach_volume.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/detach_volume.rb
fog-1.2.0 lib/fog/aws/parsers/compute/detach_volume.rb
ktheory-fog-1.1.2 lib/fog/aws/parsers/compute/detach_volume.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/detach_volume.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/detach_volume.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/detach_volume.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/detach_volume.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/detach_volume.rb
fog-1.1.2 lib/fog/aws/parsers/compute/detach_volume.rb
fog_tractical-1.1.4 lib/fog/aws/parsers/compute/detach_volume.rb
fog_tractical-1.1.3 lib/fog/aws/parsers/compute/detach_volume.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/detach_volume.rb
fog-1.1.1 lib/fog/aws/parsers/compute/detach_volume.rb
fog-1.1.0 lib/fog/aws/parsers/compute/detach_volume.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/detach_volume.rb