Sha256: 7d35dfcb46cebcd252c47d9865d38e3e1e16bc7562553b12feea8e81b7ea7f7f

Contents?: true

Size: 420 Bytes

Versions: 92

Compression:

Stored size: 420 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module EC2

        class CreateSnapshot < Fog::Parsers::Base

          def end_element(name)
            case name
            when 'progress', 'snapshotId', 'status', 'volumeId'
              @response[name] = @value
            when 'startTime'
              @response[name] = Time.parse(@value)
            end
          end

        end

      end
    end
  end
end

Version data entries

92 entries across 92 versions & 2 rubygems

Version Path
geemus-fog-0.0.0 lib/fog/aws/parsers/ec2/create_snapshot.rb
geemus-fog-0.0.1 lib/fog/aws/parsers/ec2/create_snapshot.rb
geemus-fog-0.0.3 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.91 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.90 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.89 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.88 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.87 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.86 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.85 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.84 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.83 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.82 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.81 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.80 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.79 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.78 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.77 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.76 lib/fog/aws/parsers/ec2/create_snapshot.rb
fog-0.0.75 lib/fog/aws/parsers/ec2/create_snapshot.rb