Sha256: 6f59b315f04baa6507c2121a08f4b9e5a5d1212774e27170e1851c17cde1424f

Contents?: true

Size: 472 Bytes

Versions: 143

Compression:

Stored size: 472 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module EC2

        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

143 entries across 143 versions & 3 rubygems

Version Path
geemus-fog-0.0.0 lib/fog/aws/parsers/ec2/basic.rb
geemus-fog-0.0.1 lib/fog/aws/parsers/ec2/basic.rb
geemus-fog-0.0.3 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.30 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.28 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.27 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.26 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.25 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.24 lib/fog/aws/parsers/ec2/basic.rb
tecnh-fog-0.2.23.vpc lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.23 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.22 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.21 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.20 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.19 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.18 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.17 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.16 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.15 lib/fog/aws/parsers/ec2/basic.rb
fog-0.2.14 lib/fog/aws/parsers/ec2/basic.rb