Sha256: 6881b366995e87d52d692e19f17b391bc12e1a1deba79a22583c6e472bd14b58

Contents?: true

Size: 433 Bytes

Versions: 50

Compression:

Stored size: 433 Bytes

Contents

module Fog
  module Parsers
    module Slicehost
      module Compute

        class GetImage < Fog::Parsers::Base

          def reset
            @response = {}
          end

          def end_element(name)
            case name
            when 'id'
              @response[name] = @value.to_i
            when 'name'
              @response[name] = @value
            end
          end

        end

      end
    end
  end
end

Version data entries

50 entries across 50 versions & 3 rubygems

Version Path
fog-0.3.28 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.27 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.26 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.25 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.24 lib/fog/slicehost/parsers/compute/get_image.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.23 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.22 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.21 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.20 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.19 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.18 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.17 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.16 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.15 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.14 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.13 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.12 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.11 lib/fog/slicehost/parsers/compute/get_image.rb
fog-0.3.10 lib/fog/slicehost/parsers/compute/get_image.rb