Sha256: 944afe9ead9fac247ad501c237a6987fa3a280b70fdf6df72fe8bdb81afae9f2

Contents?: true

Size: 826 Bytes

Versions: 113

Compression:

Stored size: 826 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module RDS

        require 'fog/aws/parsers/rds/db_parser'

        class RestoreDBInstanceToPointInTime < Fog::Parsers::AWS::RDS::DbParser

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

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

          def end_element(name)
            case name
            when 'DBInstance'
              @response['RestoreDBInstanceToPointInTime']['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

113 entries across 113 versions & 18 rubygems

Version Path
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
fog-1.3.1 lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
fog-1.3.0 lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
fog-1.2.0 lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
ktheory-fog-1.1.2 lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
fog-1.1.2 lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
fog_tractical-1.1.4 lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
fog_tractical-1.1.3 lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
fog-1.1.1 lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
fog-1.1.0 lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb
tag-fog-1.0.1 lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb