Sha256: 56ce2095bb8738c9cd650e1fe1d12c22fb7fab8e2c766959f1f6c6f0e1459a5b

Contents?: true

Size: 830 Bytes

Versions: 111

Compression:

Stored size: 830 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module RDS

        require 'fog/aws/parsers/rds/db_parser'
        
        class DeleteDBInstance < Fog::Parsers::AWS::RDS::DbParser

          def reset
            @response = { 'DeleteDBInstanceResult' => {}, 'ResponseMetadata' => {} }
            super
          end

          def start_element(name, attrs = [])
            super            
          end

          def end_element(name)
            case name
              
            when 'DBInstance'
              @response['DeleteDBInstanceResult']['DBInstance'] = @db_instance
              @db_instance = fresh_instance
            when 'RequestId'
              @response['ResponseMetadata'][name] = value
            else
              super
            end
          end
        end
      end
    end
  end
end

Version data entries

111 entries across 111 versions & 18 rubygems

Version Path
fog-test-again-1.6.0 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-test-me-1.10.0 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-parser-fix-1.6.0 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-1.10.0 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-1.9.0 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/aws/parsers/rds/delete_db_instance.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-sgonyea-1.8.1 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-1.8.0 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-1.7.0 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-1.6.0 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-1.5.0 lib/fog/aws/parsers/rds/delete_db_instance.rb
fog-1.4.0 lib/fog/aws/parsers/rds/delete_db_instance.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/delete_db_instance.rb
michiels-fog-1.3.1 lib/fog/aws/parsers/rds/delete_db_instance.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/parsers/rds/delete_db_instance.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/delete_db_instance.rb