Sha256: 43db6776ba81b5c758c7166223b1217ed8945357e72171fc4c5de58fbfff51bc

Contents?: true

Size: 589 Bytes

Versions: 111

Compression:

Stored size: 589 Bytes

Contents

module Fog
  module Parsers
    module Compute
      module AWS

        class CreateSnapshot < Fog::Parsers::Base

          def end_element(name)
            case name
            when 'description', 'ownerId', 'progress', 'snapshotId', 'status', 'volumeId'
              @response[name] = value
            when 'requestId'
              @response[name] = value
            when 'startTime'
              @response[name] = Time.parse(value)
            when 'volumeSize'
              @response[name] = value.to_i
            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/create_snapshot.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/parsers/compute/create_snapshot.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/create_snapshot.rb
fog-1.3.1 lib/fog/aws/parsers/compute/create_snapshot.rb
fog-1.3.0 lib/fog/aws/parsers/compute/create_snapshot.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/create_snapshot.rb
fog-1.2.0 lib/fog/aws/parsers/compute/create_snapshot.rb
ktheory-fog-1.1.2 lib/fog/aws/parsers/compute/create_snapshot.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/create_snapshot.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/create_snapshot.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/create_snapshot.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/create_snapshot.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/create_snapshot.rb
fog-1.1.2 lib/fog/aws/parsers/compute/create_snapshot.rb
fog_tractical-1.1.4 lib/fog/aws/parsers/compute/create_snapshot.rb
fog_tractical-1.1.3 lib/fog/aws/parsers/compute/create_snapshot.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/create_snapshot.rb
fog-1.1.1 lib/fog/aws/parsers/compute/create_snapshot.rb
fog-1.1.0 lib/fog/aws/parsers/compute/create_snapshot.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/create_snapshot.rb