Sha256: 28625755a9a2edb678b4b6d38e1aa427239812efbdd08b74eab318983bedf62e

Contents?: true

Size: 476 Bytes

Versions: 50

Compression:

Stored size: 476 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module Compute

        class Basic < Fog::Parsers::Base

          def end_element(name)
            case name
            when 'requestId'
              @response[name] = @value
            when 'return'
              if @value == 'true'
                @response[name] = true
              else
                @response[name] = false
              end
            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/aws/parsers/compute/basic.rb
fog-0.3.27 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.26 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.25 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.24 lib/fog/aws/parsers/compute/basic.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/aws/parsers/compute/basic.rb
fog-0.3.23 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.22 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.21 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.20 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.19 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.18 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.17 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.16 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.15 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.14 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.13 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.12 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.11 lib/fog/aws/parsers/compute/basic.rb
fog-0.3.10 lib/fog/aws/parsers/compute/basic.rb