Sha256: a227616c90ca5b55c3e82857a2976f32346594a5eac602386fc6c1d9d19d8ce3

Contents?: true

Size: 431 Bytes

Versions: 143

Compression:

Stored size: 431 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module EC2

        class AttachVolume < 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
geemus-fog-0.0.0 lib/fog/aws/parsers/ec2/attach_volume.rb
geemus-fog-0.0.1 lib/fog/aws/parsers/ec2/attach_volume.rb
geemus-fog-0.0.3 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.30 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.28 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.27 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.26 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.25 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.24 lib/fog/aws/parsers/ec2/attach_volume.rb
tecnh-fog-0.2.23.vpc lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.23 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.22 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.21 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.20 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.19 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.18 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.17 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.16 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.15 lib/fog/aws/parsers/ec2/attach_volume.rb
fog-0.2.14 lib/fog/aws/parsers/ec2/attach_volume.rb